CATMecModUseItf Interface CATIMmiUseMechanicalTool

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


interface CATIMmiUseMechanicalTool

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 enables you to create a MechanicalTool and the interface enables you to retrieve them.

A MechanicalTool feature aggregates mechanical features which can be: The 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(CATIMmiMechanicalFeature_var&)
Retrieve the boolean operation when the current solid body is operated.
o GetFirstShapeFeature(CATIMmiMechanicalFeature_var&)
Retrieve the first solid feature.
o GetLastShapeFeature(CATIMmiMechanicalFeature_var&)
Retrieve the last solid feature.
o GetLastShapeFeatureSuccessfullyUpdated(CATIMmiMechanicalFeature_var&)
Retrieve the last activated solid feature without update error.

Methods


o GetBooleanOperation
public virtual GetBooleanOperation( oBoolOper)
Retrieve 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.
Parameters:
oBoolOper
You retrieve the boolean operation Refer to the CATITrimBooleanFactory and CATIPrtBooleanFactory interfaces for details about this feature.
Returns:
E_FAIL if an error occured, S_OK otherwise.
o GetFirstShapeFeature
public virtual GetFirstShapeFeature( oFirstShape)
Retrieve the first solid feature.
Returns:
E_FAIL if an error occured, S_OK otherwise.
o GetLastShapeFeature
public virtual GetLastShapeFeature( oLastShape)
Retrieve the last solid feature.
Returns:
E_FAIL if an error occured, S_OK otherwise.
o GetLastShapeFeatureSuccessfullyUpdated
public virtual GetLastShapeFeatureSuccessfullyUpdated( oLastShape)
Retrieve the last activated solid feature without update error.
Role: returns the last solid active in the sense of Furthermore this feature must either be updated or have a geometrical result.
Returns:
E_FAIL if an error occured, S_OK otherwise.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.