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 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
public virtual CATIShapeFeatureBody_var GetNextShape()= 0
Returns the solid feature following the current feature in the procedural view.
o GetPreviousShape
public virtual CATIShapeFeatureBody_var GetPreviousShape()= 0
Returns the solid feature prior to the current feature in the procedural view.
o GetResultOUT
public virtual CATISpecObject_var GetResultOUT()= 0
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
public virtual CATLISTV(CATISpecObject_var) ListNextShapeFeatures()= 0
Returns all the solid features following the current feature in the procedural view.
o ListPreviousShapeFeatures
public virtual CATLISTV(CATISpecObject_var) ListPreviousShapeFeatures()= 0
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

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