All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SurfaceMachiningInterfaces Interface CATISmgFactory

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

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


interface CATISmgFactory

Interface to create Surface Machining entities.

Role: This interface has methods to create a machining area and a NC geometry feature. The machining area is a manufacturing feature used to used to define different zones to machine (part body, checks, forbidden zone and guiding curves). The NC geometry feature is a geometrical zone pointed by several manufacturing features. Query this interface on the feature container.

See also:
CATIMfgManufacturingFactories


Method Index


o CreateMachiningArea(CATBaseUnknown_var&)
Creates a machining area.
o CreateNcGeometryFeature(CATUnicodeString&,CATBaseUnknown_var&)
Creates a nc geometry feature.

Methods


o CreateMachiningArea
public virtual HRESULT CreateMachiningArea(CATBaseUnknown_var& oMachiningArea) = 0
Creates a machining area.
Parameters:
oMachiningArea
The created machining area.
o CreateNcGeometryFeature
public virtual HRESULT CreateNcGeometryFeature( const CATUnicodeString& iType,
CATBaseUnknown_var& oGeometryFeature) = 0
Creates a nc geometry feature.
Parameters:
iType
The type of the nc geometry feature to create.
Legal values: Use
SmgAreaType
to create areas
SmgEdgeType
to create edges
SmgPlaneType
to create planes
SmgPointType
to create points
oGeometryFeature
The created nc geometry feature.

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

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