CATMecModExtendItf CATMmrUseSolidInsertionAdapt

Usage: you can derive this class.


public class CATMmrUseSolidInsertionAdapt

Adaptor class for CATIMmiUseSolidInsertion


Constructor and Destructor Index


o CATMmrUseSolidInsertionAdapt()
o ~CATMmrUseSolidInsertionAdapt()

Method Index


o InsertFeature(CATIMmiMechanicalFeature_var&)
Inserts a solid feature into a procedural body.
o ReorderFeature(CATIMmiMechanicalFeature_var&)
Relocates a solid feature in a procedural body.

Constructor and Destructor


o CATMmrUseSolidInsertionAdapt
public CATMmrUseSolidInsertionAdapt()
o ~CATMmrUseSolidInsertionAdapt
public virtual ~CATMmrUseSolidInsertionAdapt()

Methods


o InsertFeature
public InsertFeature( const iDestination)
Inserts a solid feature into a procedural body.
Role:This method is used to insert a solid feature into a procedural body. If the feature already exists in a Body or Solid Body, use the method to move it.
Parameters:
iDestination
The place where the feature will be inserted depends on the factors described below:
  • The feature is a Body or Solid Body: the feature is set at the first position in the Body or Solid Body.
  • The feature is a solid feature: the feature is set after the given iDestination
  • The feature equals NULL_var: the destination is automatically valuated with the "In Work Object" feature. The "In Work Object" can be set by using the interface
, method and can be set with the method. If the given iDestination and the "In Work Object" feature are not valid, the ReorderFeature method will throw exceptions.
Returns:
This method returns S_OK if the operation went through successfully and E_FAIL otherwise.
o ReorderFeature
public ReorderFeature( const iDestination)
Relocates a solid feature in a procedural body.
Role:This method is used to move a solid feature, that already exists in a procedural body, to another position. If the given destination is not valid, a new destination will sometimes be automatically redefined.
Parameters:
iDestination
The place where the feature will be inserted depends on the factors described below:
  • The feature is a Body or Solid Body: the feature is set at the first position in the Body or Solid Body.
  • The feature is a solid feature: the feature is set after the given iDestination
  • The feature equals NULL_var: the destination is automatically valuated with the "In Work Object" feature. The "In Work Object" can be set by using the interface
, method and can be set with the method. If the given iDestination and the "In Work Object" feature are not valid, the ReorderFeature method will throw exceptions.
Returns:
This method returns S_OK if the operation went through successfully and E_FAIL otherwise.

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

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