CATAssemblyConstraintUseItf Interface CATIAssemblyConstraintManager
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIAssemblyConstraintManager
Interface dedicated to manage the life cycle of an Assembly Constraint
object.
Role: This interface allows to create, retrieve or delete
an Assembly Constraint. This interface is implemented by the Engineering
Connection.
Method Index
- o
AddAssemblyConstraint(CATIAssemblyConstraint::Type,CATListValCATBaseUnknown_var*,CATIAssemblyConstraint*&)
- Adds an Assembly Constraint in the Engineering Connection.
- o
GetListOfAssemblyConstraints(CATListValCATBaseUnknown_var&)
- Returns the list of Assembly contraints contained in the Engineering
Connection.
- o
RemoveAssemblyConstraint(CATIAssemblyConstraint*)
- Removes an Assembly Constraint defined in the Engineering Connection.
Methods
o AddAssemblyConstraint
public virtual AddAssemblyConstraint( | | iCstType, |
| const | iListOfGeometry, |
| | oAssConstraint) |
-
Adds an Assembly Constraint in the Engineering Connection.
- Parameters:
-
- iCstDef
- [in] The type of the Assembly Constraint.
- iListOfGeometry
- [in] The list of geometry pointed by the constraint. The geometry is
identified by a CATOmbObjectInContext
Each geometry must correspond, one to one, to a MCX's impacted. It means that the Impacted's Path of First Instances must be included in the geometry's Path of First Instances.
A non contextual support is characterized by the fact that the geometry's Path of First Instances must start with a child instance of the MCX's father.
A contextual impacted is characterized by the fact that the geometry's Path of First Instances must end with an instance of the MCX's father.
- oAssConstraint.
- [out] The created Assembly Constraint.
- Returns:
-
- S_OK
- If the operation is successful.
- E_INVALIDARG
- If the Engineering Connection is not
compatible with the created assembly Constraint.
- E_FAIL
- If the operation is failed.
o GetListOfAssemblyConstraints
public virtual GetListOfAssemblyConstraints( | | oListAssemblyConstraints) |
-
Returns the list of Assembly contraints contained in the Engineering
Connection.
- Parameters:
-
- oListAssemblyConstraints
- [out] the list of Assembly Constraints. The Assembly Constraint is
identified by a CATIAssemblyConstraint
- Returns:
-
- S_OK
- if the operation is successful.
- E_FAIL
- if the operation is failed.
o RemoveAssemblyConstraint
public virtual RemoveAssemblyConstraint( | | iAssConstraint) |
-
Removes an Assembly Constraint defined in the Engineering Connection.
- Parameters:
-
- iAssConstraint
- [in] Assembly Constraint to remove.
- Returns:
-
- S_OK
- if the operation is successful.
- E_INVALIDARG
- If the Assembly Constraint is not
aggregated by the Engineering Connection
- E_FAIL
- if the operation is failed.
This object is included in the file: CATIAssemblyConstraintManager.h
If needed, your Imakefile.mk should include the module: CATAssemblyConstraintUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.