All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgGeometryAnalyser

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

Usage: you can freely reimplement this interface.


interface CATIMfgGeometryAnalyser

Interface dedicated to analyze or remove globally the geometry referred by a NC entity.


Method Index


o GetGeometries(CATString&,CATListValCATBaseUnknown_var&)
This method is used to get the geometries referred in a context.
o GetStyle(CATString&,int&)
This method is used to tune the sensitivity of the push buttons relative to geometry analyze and removal.
o RemoveGeometries(CATString&)
This method is used to remove the geometries referred in a context.

Methods


o GetGeometries
public virtual HRESULT GetGeometries( const CATString& iContext,
CATListValCATBaseUnknown_var& oGeometries)=0
This method is used to get the geometries referred in a context.
  
Parameters:
iContext
The context in which the analyze or removal is done.
Legal values:
  • = Strategy: analyze/removal is done on the geometry referred in the Strategy tabpage
  • = Geometry: analyze/removal is done on the geometry referred in the Geometry tabpage
  • = Macro : analyze/removal is done on the geometry referred in the Macro tabpage
oGeometries
The list of geometries referred in the given context. It may be a list of CATIMfgGeometryAccess.
o GetStyle
public virtual HRESULT GetStyle( const CATString& iContext,
int& oStyle)=0
This method is used to tune the sensitivity of the push buttons relative to geometry analyze and removal.
  
Parameters:
iContext
The context in which the analyze or removal is done.
Legal values:
  • = Strategy: analyze/removal is done on the geometry referred in the Strategy tabpage
  • = Geometry: analyze/removal is done on the geometry referred in the Geometry tabpage
  • = Macro : analyze/removal is done on the geometry referred in the Macro tabpage
oStyle
The state of the three push buttons (show specified geometry, show resulting geometry, remove referred geometry). The first byte represents the state of the 'show specified geometry'. The second byte represents the state of the 'show resulting geometry'. The third byte represents the state of the 'remove referred geometry'. For example, to enable the three buttons, the style may be 7 (1+2+4). To disable the three buttons, the style may be 0 (0+0+0).
o RemoveGeometries
public virtual HRESULT RemoveGeometries( const CATString& iContext)=0
This method is used to remove the geometries referred in a context.
  
Parameters:
iContext
The context in which the removal is done.
Legal values:
  • = Strategy: analyze/removal is done on the geometry referred in the Strategy tabpage
  • = Geometry: analyze/removal is done on the geometry referred in the Geometry tabpage
  • = Macro : analyze/removal is done on the geometry referred in the Macro tabpage

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

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