All Frameworks  Object Hierarchy  This Framework  Indexes   

BehaviorExtension (Object)

Manages the behaviors of a technological object.
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") 
 

Property Index

ExtensionClass
Returns the type of the technological object associated to this behavior extension.

Method Index

SelectBehavior
Selects and executes a behavior of the technological object.

Properties


o Property ExtensionClass() As (Read Only)
Returns the type of the technological object associated to this behavior extension.

Methods


o 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.

Copyright © 2003, Dassault Systèmes. All rights reserved.