All Frameworks Class Hierarchy This Framework Previous Next Indexes
SurfaceMachiningInterfaces Interface CATISmgMachiningAreaParts
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATISmgMachiningAreaParts
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISmgMachiningAreaParts
Interface dedicated to part elements of a Machining Area.
Role: This interface offers services to retrieve part elements
from a Machining Area.
Method Index
- o
GetGeometricElements(CATLISTP(CATGeometry)&,int,int)
- Retrieves the geometric elements from the part of a Machining Area.
- o
GetStatus(int&)
- Checks if the part is a mandatory parameter.
- o
SetStatus(int)
- Modifies the geometry status of the part.
Methods
o GetGeometricElements
-
Retrieves the geometric elements from the part of a Machining Area.
- Parameters:
-
- iAllGeometricElements
- Specifies if all geometric elements must be retrieved.
Legal values: The parameter can be
- 0
- Only geometric elements on the visible space are retrieved (default value)
- 1
- All geometric elements are retrieved
- iDuplicate
- Specifies if the geometric elements must be duplicated
Legal values: The parameter can be
- 0
- Geometric elements are duplicated only if necessary in a product context (default value)
- 1
- Geometric elements are duplicated
- oGeometricElements
- The geometric elements found.
o GetStatus
public virtual HRESULT GetStatus( | int& | oState) = 0 |
-
Checks if the part is a mandatory parameter.
- Parameters:
-
- oState
-
Legal values:
- 0
- The part is an optional parameter
- 1
- The part is a mandatory parameter
o SetStatus
public virtual HRESULT SetStatus( | const int | iState) = 0 |
-
Modifies the geometry status of the part.
- Parameters:
-
- iState
-
Legal values:
- 0
- The part is an optional parameter
- 1
- The part is a mandatory parameter (default)
This object is included in the file: CATISmgMachiningAreaParts.h
If needed, your Imakefile.mk should include the module: SmgItfEnv