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
-
Returns the feature containing external references of a contextual part.
o GetCurrentFeature
-
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
-
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
-
Returns the feature holding the set of default values.
o GetElectedFeature
-
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
-
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
-
Returns the relay feature to the elected feature of the MechanicalPart feature.
o SetCurrentFeature
-
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