All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIPrtPart

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIPrtPart
 

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


interface CATIPrtPart

Interface to retrieve information on the MechanicalPart feature.
Role: This interface is implemented on the MechanicalPart feature. This feature is named Part in the specification tree. With this interface and the CATIPartRequest interface you have all the methods to manage this feature.


Method Index


o GetBodyForExternalReferences()
Returns the feature containing external references of a contextual part.
o GetCurrentFeature()
Returns the current feature of the MechanicalPart feature.
o GetCurrentTool()
Returns the current set of the MechanicalPart feature.
o GetDefaultValuesBag()
Returns the feature holding the set of default values.
o GetElectedFeature()
Returns the elected feature of the MechanicalPart feature.
o GetImportedBodies()
Returns the list of the imported body features in the MechanicalPart feature.
o GetProduct()
Returns the product associated with the MechanicalPart feature.
o GetReferencePlanes()
Returns a list containing the reference planes of the MechanicalPart feature.
o GetRelayToElectedFeature()
Returns the relay feature to the elected feature of the MechanicalPart feature.
o SetCurrentFeature(CATISpecObject_var)
Sets the current feature of the MechanicalPart feature.

Methods


o GetBodyForExternalReferences
public virtual CATISpecObject_var GetBodyForExternalReferences()= 0
Returns the feature containing external references of a contextual part.
o GetCurrentFeature
public virtual CATISpecObject_var GetCurrentFeature()= 0
Returns the current feature of the MechanicalPart feature.
Role:This method returns the mechanical feature set by the SetCurrentFeature method, or by the "Define In Work Object" command in an interactive session.
o GetCurrentTool
public virtual CATIBasicTool_var GetCurrentTool()= 0
Returns the current set of the MechanicalPart feature.
Returns:
The current set feature. It can be a Body feature, and Ordered Geometrical Set feature, or a Geometrical Set feature.
o GetDefaultValuesBag
public virtual CATISpecObject_var GetDefaultValuesBag()=0
Returns the feature holding the set of default values.
o GetElectedFeature
public virtual CATISpecObject_var GetElectedFeature()= 0
Returns the elected feature of the MechanicalPart feature.
o GetImportedBodies
public virtual CATListValCATISpecObject_var GetImportedBodies()= 0
Returns the list of the imported body features in the MechanicalPart feature.
o GetProduct
public virtual CATISpecObject_var GetProduct()=0
Returns the product associated with the MechanicalPart feature.
Role:This ASMProduct feature represents the reference of all the instantiations of the Part in the Product documents. You can handle it with the CATIProduct interface. It enables you to make the publication.

Each instantiation of this ASMProduct feature in a Product document holds the position of the Part inside the Product. Refer to the CATIMovable interface.

o GetReferencePlanes
public virtual CATListValCATISpecObject_var GetReferencePlanes()= 0
Returns a list containing the reference planes of the MechanicalPart feature.
Role:The list contains : xy plane, yz plane and zx plane in that order in the list.
o GetRelayToElectedFeature
public virtual CATISpecObject_var GetRelayToElectedFeature()= 0
Returns the relay feature to the elected feature of the MechanicalPart feature.
o SetCurrentFeature
public virtual void SetCurrentFeature(CATISpecObject_var iCurrent) = 0
Sets the current feature of the MechanicalPart feature.
Role:This method is equivalent to the "Define In Work Object" command in an interactive session.
Parameters:
iCurrent
The current feature.

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

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