CATMecModUseItf Interface CATIMmiPrtContainer

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIMmiPrtContainer

Interface to retrieve the MechanicalPart feature.
Role:The MechanicalPart feature is a mechanical feature which is contained in the specification container of a 3D Shape. In the specification tree, its name is Part.

This interface is implemented by the specification container, "CATPrtCont", that you retrieve using CATIPLMNavRepRefReference#RetrieveApplicativeContainer. To manage the MechanicalPart feature use the and the interfaces.


Method Index


o GetGeometricalContainer(CATICGMContainer_var&)
Returns the geometrical container.
o GetMechanicalPart(CATIMmiMechanicalFeature_var&)
Returns the MechanicalPart feature.

Methods


o GetGeometricalContainer
public virtual GetGeometricalContainer( oGeocont)
Returns the geometrical container.
Parameters:
oGeocont
The geometrical container.
Returns:
The error code.
Legal values:
  • S_OK: The container is retrieved
  • E_FAIL: The container could not be accessed.
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.

This object is included in the file: CATIMmiPrtContainer.h
If needed, your Imakefile.mk should include the module: CATMecModUseItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.