MachiningUseItf Interface DELIMfgGeometryDefinition

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


interface DELIMfgGeometryDefinition

Interface dedicated to geometry definition.

Role: This interface offers service to set or get the geometries.

The methods are consider geometries from the given type. This iType parameter corresponds to a key word ending the wanted interface. (CATIM3xiType, CATIMfgiType or CATIiType) For example iType = "Parts" to consider the parts geometries (for CATIMfgParts) iType = "Checks" to consider the checks geometries (for CATIMfgChecks) iType = "MultiAxisPart" to consider the parts geometries for multi-axis operation iType = "FirstGuideLine" iType = "FirstStopLine" iType = "SecondGuideLine" iType = "SecondStopLine" iType = "AuxGuidingCurves" iType = "FirstRelimitingElement" iType = "SecondRelimitingElement" iType = "MultiAxisRefPoint" iType = "MultiAxisStartElement" iType = "MultiAxisEndElement" iType = "GuidingCurves" iType = "Drives" iType = "RoughStock" iType = "PartBottom" iType = "RelimitingFace" iType = "RelimitingPlane" iType = "EndingPoint" iType = "StartingPoint" iType = "Island" iType = "SetupStocks" to consider the stock of the PO iType = "SetupDesigns" to consider the design part of the PO


Method Index


o AddGeometry(CATString&,CATBaseUnknown_var&,CATBaseUnknown_var&,int,int)
Adds a geometry.
o DefineFormula(CATString&,CATUnicodeString&)
Defines a geometrical expression
o GetGeometricElements(CATString&,CATLISTP(CATGeometry)&,int,int)
Gets the list of geometric elements.
o GetGeometricReferences(CATString&,CATListValCATBaseUnknown_var&,CATListValCATBaseUnknown_var&)
Gets the list of geometric references.
o RemoveGeometries(CATString&)
Remove geometries of the given type.

Methods


o AddGeometry
public virtual AddGeometry( const iType,
const iReference,
const iProduct,
iVerify= 0,
iPosition=0)
Adds a geometry.
Parameters:
iType
Type of the geometry to add.
iReference
Geometry to add.
iProduct
Product to whech belongs the geometry to add.
iVerify

Legal values: The parameter can be
0
Add the geometry without any checks. (default value)
1
Add the geometry only if it is not already in the geometries list.
iPostion
Position at which add the geometry in the geometries list. (default value = 0)
o DefineFormula
public virtual DefineFormula( const iType,
const iGeomExp)
Defines a geometrical expression
Parameters:
iType
Type of geometry for which we define an geometrical expression.
iExpression
Geometrical Expression to define.
o GetGeometricElements
public virtual GetGeometricElements( const iType,
oGeometricElements,
iAllGeometricElements= 0,
iDuplicate= 0)
Gets the list of geometric elements.
Parameters:
iType
Type of the geometries to get.
oGeometricElements
Returned geometric elements list.
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
o GetGeometricReferences
public virtual GetGeometricReferences( const iType,
oListGeometries,
oListProducts)
Gets the list of geometric references.
Parameters:
iType
Type of the geometries to get.
oListGeometries
Returned geometric references list.
oListProducts
Returned products list corresponding to geometric references.
o RemoveGeometries
public virtual RemoveGeometries( const iType)
Remove geometries of the given type.
Parameters:
iType
Type of the geometries to remove.

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

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