All Frameworks Class Hierarchy This Framework Previous Next Indexes
MecModInterfaces Interface CATIShapeFeatureBody
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIShapeFeatureBody
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIShapeFeatureBody
Interface to manage solid features.
Role: A solid feature (CATIShapeFeatureProperties ) is a geometrical feature which is aggregated by a MechanicalTool (
CATIMechanicalTool ) feature. This aggregation, done by the
CATIPrtProceduralView interface and not by the
CATIDescendants interface, enables you to assure the procedural build of the MechanicalTool.
The first methods of this interface enables you to retrieve data on the solid feature which
are used for the build of the MechanicalTool (and the solid feature itself of course):
- The ResultIN and the ResultOUT attributes of the solid feature
There are specific attributes used by the procedural build of the MechanicalTool feature.
They are named so in all the documentation, but it is not necessarily their name.
The ResultOUT attribute value of the a solid feature will be the value of the ResultIN
attribute of its next solid in the MechanicalTool.
The two methods to retrieve these attributes are
GetBodyINAttributes and
GetResultOUT
- The topology (CATBody) associated with these attributes
The dedicated methods are
GetBodyIN and
GetBodyOUT
- The CATBody associated to the form of the solid
The
GetShape method is interesting for the form feature. For those features, this method returns the topological object which represents the form
of the feature: a cylinder for the Hole feature for example. This topology is built by the
CATIBuildShape.Build method.
The four last methods (from
GetNextShape to
ListNextShapeFeatures ) enable you to browse the procedural view of the MechanicalTool feature.
Method Index
- o
GetBodyIN(CATClassId)
- Returns the topological result associated with the ResultIN attribute.
- o
GetBodyINAttributes()
- Returns the ResultIN attribute.
- o
GetBodyOUT(CATClassId)
- Returns the topological result associated with the ResultOUT attribute.
- o
GetNextShape()
- Returns the solid feature following the current feature in the procedural view.
- o
GetPreviousShape()
- Returns the solid feature prior to the current feature in the procedural view.
- o
GetResultOUT()
- Returns the ResultOUT attribute value.
- o
GetShape(CATClassId)
- Returns the topology associated with the feature.
- o
ListNextShapeFeatures()
- Returns all the solid features following the current feature in the procedural view.
- o
ListPreviousShapeFeatures()
- Returns all the solid features prior to the current feature in the procedural view.
Methods
o GetBodyIN
public virtual CATListValCATBaseUnknown_var* GetBodyIN( | CATClassId | iInterfaceName) = 0 |
-
Returns the topological result associated with the ResultIN attribute.
- Parameters:
-
- iInterfaceName
- Use the CATBody interface
- Returns:
- This method returns a list with only one element, the CATBody associated to the
value of the ResultIN attribute.
o GetBodyINAttributes
public virtual CATListValCATISpecAttribute_var* GetBodyINAttributes( | )= 0 |
-
Returns the ResultIN attribute.
- Returns:
- This method returns a list with only one element, the ResultIN attribute.
o GetBodyOUT
public virtual CATListValCATBaseUnknown_var* GetBodyOUT( | CATClassId | iInterfaceName)= 0 |
-
Returns the topological result associated with the ResultOUT attribute.
- Parameters:
-
- iInterfaceName
- Use the CATBody interface
- Returns:
- This method returns a list with only one element, the CATBody associated to the
value of the ResultOUT attribute.
o GetNextShape
-
Returns the solid feature following the current feature in the procedural view.
o GetPreviousShape
-
Returns the solid feature prior to the current feature in the procedural view.
o GetResultOUT
-
Returns the ResultOUT attribute value.
Role:This methods returns the internal feature aggregated by the internal feature which
holds the topological result of the solid feature. To retrieve this topological result (a CATBody)
you have two means:
o GetShape
public virtual CATListValCATBaseUnknown_var* GetShape( | CATClassId | iInterfaceName) = 0 |
-
Returns the topology associated with the feature.
Role:This method is equivalent to the
CATIGeometricalElement.GetBodyResult method.
- Parameters:
-
- iInterfaceName
- Use CATBody as interface name.
o ListNextShapeFeatures
-
Returns all the solid features following the current feature in the procedural view.
o ListPreviousShapeFeatures
-
Returns all the solid features prior to the current feature in the procedural view.
This object is included in the file: CATIShapeFeatureBody.h
If needed, your Imakefile.mk should include the module: CATMecModInterfaces