All Frameworks Class Hierarchy This Framework Previous Indexes
CATAssemblyInterfaces Class CATAsmConstraintSetServices
CATAsmConstraintSetServices
Usage: you must use this class as is. You should never derive it.
public class CATAsmConstraintSetServices
Class dedicated to Assembly Constraints' Sets creation and management.
Method Index
- o
AddNewSetChild(CATIAsmCstSetFeature_var&,CATIAsmCstSetFeature_var&,CATIAsmCstSetFeature_var&)
- Adds a new set child to an existing set.
- o
GetRootSet(CATIProduct_var&,CATIAsmCstSetFeature_var&,CATBoolean)
- Gets the Root Set associated to the given product
(corresponding to the Constraints' Node).
Methods
o AddNewSetChild
public static HRESULT AddNewSetChild( | const CATIAsmCstSetFeature_var& | iParentSet, |
| CATIAsmCstSetFeature_var& | oNewSetChild, |
| const CATIAsmCstSetFeature_var& | iPreviousSet | = NULL_var ) |
-
Adds a new set child to an existing set.
- Parameters:
-
- iParentSet
- The set which will hold the created child
- oNewSetChild
- the new created set child
- iPreviousSet
- the new set will appear after this previous set.
default value NULL_var: the new set will appear at the end of the parent set
- Returns:
- Error code of function.
o GetRootSet
public static HRESULT GetRootSet( | const CATIProduct_var& | iProduct, |
| CATIAsmCstSetFeature_var& | oCstSetRoot, |
| CATBoolean | iCreate) |
-
Gets the Root Set associated to the given product
(corresponding to the Constraints' Node).
- Parameters:
-
- iProduct
- The product holding the constraints.
- oCstSetRoot
- the set root.
- iCreate
- creation mode:
Legal values:
FALSE = if the root set doesn't yet exist, don't force the creation
TRUE = if the root set doesn't yet exist, create it
- Returns:
- Error code of function.
This object is included in the file: CATAsmConstraintSetServices.h
If needed, your Imakefile.mk should include the module: CATAssemblyInterfaces