All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIMechanicalTool

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

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


interface CATIMechanicalTool

Interface to manage a MechanicalTool feature.
Role: This interface is specific for a MechanicalTool feature. A MechanicalTool feature is a mechanical feature which aggregates other mechanical features to represent a solid form. So, it is sometimes named solid body. It appears in the specification tree with the name:

The CATIMechanicalRootFactory enables you to create a MechanicalTool and the CATIPartRequest interface enables you to retrieve them.

A MechanicalTool feature aggregates mechanical features which can be: The CATIBodyRequest interface enables you to retrieve the feature which holds the topological result of the body.

This interface allows you three main actions on a MechanicalTool feature:


Method Index


o GetBooleanOperation()
Returns the boolean operation when the current solid body is operated.
o GetFirstShapeFeature()
Returns the first solid feature.
o GetLastShapeFeature()
Returns the last solid feature.
o GetLastShapeFeatureSuccessfullyUpdated()
Returns the last activated solid feature without update error.

Methods


o GetBooleanOperation
public virtual CATISpecObject_var GetBooleanOperation()= 0
Returns the boolean operation when the current solid body is operated.
Role:This method retrieves the boolean operation which has operated the current body. If this body has not been operated the returned value is NULL_var.
Returns:
Refer to the CATITrimBooleanFactory and CATIPrtBooleanFactory interfaces for details about this feature.
o GetFirstShapeFeature
public virtual CATISpecObject_var GetFirstShapeFeature()= 0
Returns the first solid feature.
o GetLastShapeFeature
public virtual CATISpecObject_var GetLastShapeFeature()= 0
Returns the last solid feature.
o GetLastShapeFeatureSuccessfullyUpdated
public virtual CATISpecObject_var GetLastShapeFeatureSuccessfullyUpdated()const =0
Returns the last activated solid feature without update error.
Role: returns the last solid active in the sense of CATIMechanicalProperties Furthermore this feature must either be updated or have a geometrical result.
See also:
CATIUpdateError, CATMfErrUpdate

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

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