CATMecModLiveUseItf Interface CATIMmiMechanicalFeature
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIMmiMechanicalFeature
Interface to recognize a mechanical feature.
Role: This interface is available for any mechanical feature.
Method Index
- o
ChangeMechanicalFather(CATIMmiMechanicalFeature_var)
- Reassigns the composite object of the current feature.
- o
GetMechanicalFather(CATIMmiMechanicalFeature_var&)
- Returns the composite object if it is a mechanical feature.
- o
GetMechanicalPart(CATIMmiMechanicalFeature_var&)
- Returns the MechanicalPart feature.
- o
GetPrtContainer(CATIMmiPrtContainer_var&)
- Returns the specification container.
Methods
o ChangeMechanicalFather
public virtual ChangeMechanicalFather( | | iTheNewFather) |
-
Reassigns the composite object of the current feature.
Role:This method enables to define a new father for the current feature.
The ChangeMechanicalFather method will throw
exceptions if the new father is not in the same 3D shape as the current one.
- Parameters:
-
- iTheNewFather
- The new composite object.
- Returns:
- The legal values are:
- S_OK The father could be changed
- E_FAIL otherwise
o GetMechanicalFather
public virtual GetMechanicalFather( | | oFather) |
-
Returns the composite object if it is a mechanical feature.
- Parameters:
-
- oFather
- The composite object.
- Returns:
- The legal values are:
- S_OK The object could be read
- E_FAIL otherwise
o GetMechanicalPart
public virtual GetMechanicalPart( | | oPart) |
-
Returns the MechanicalPart feature.
- Parameters:
-
- oPart
- The mechanical part.
- Returns:
- The error code.
Legal values:
- S_OK: The part is retrieved
- E_FAIL: The part could not be accessed.
o GetPrtContainer
public virtual GetPrtContainer( | | oThePrtCont) |
-
Returns the specification container.
- Parameters:
-
- oThePrtContainer
- The specification container.
- Returns:
- The error code.
Legal values:
- S_OK: The container is retrieved
- E_FAIL: The container could not be accessed.
This object is included in the file: CATIMmiMechanicalFeature.h
If needed, your Imakefile.mk should include the module: CATMecModLiveUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.