Role: This interface allows to select and perform the behaviors (tasks) associated to a technological object. A behavior extension is obtained from an object using the method GetItem of CATIABase with in argument the keyword "CATGetBehaviorExtension".
- Example:
-
Set RootPart = CATIA.ActiveDocument.Part Set MyExtension = RootPart.GetItem("CATGetBehaviorExtensions") Set listBehavior = MyExtension.Behaviors MyExtension.SelectBehavior("MyBehavior")
Properties
- Property ExtensionClass() As (Read Only)
- Returns the type of the technological object associated to this behavior extension.
Methods
- Func SelectBehavior( BehaviorName) As
-
Selects and executes a behavior of the technological object. The wanted behavior is specified by its name.
- Parameters:
-
- BehaviorName
- the name of the behavior. dd>