All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

MecModInterfaces Interface CATIMechanicalFeature

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

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


interface CATIMechanicalFeature

Interface to recognize a mechanical feature.

Role: This interface is available for any mechanical feature.


Method Index


o ChangeMechanicalFather(CATIMechanicalFeature_var)
Reassigns the composite object of the current feature.
o GetPart()
Returns the mechanical part to which belongs the current feature.

Methods


o ChangeMechanicalFather
public virtual void ChangeMechanicalFather(CATIMechanicalFeature_var iTheNewFather)= 0
Reassigns the composite object of the current feature.
Role:This method enables to define a new father for the current feature aggregation if it is already aggregated. If it is not, use CATIDescendants to aggregate the feature.
The ChangeMechanicalFather method will throw CATInternalError exceptions if the new father is not in the same document as the current one.
Parameters:
iTheNewFather
The new composite object.
o GetPart
public virtual CATISpecObject_var GetPart()const = 0
Returns the mechanical part to which belongs the current feature.

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

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