CATSketcherUseItf Interface CATISktUse2DWFGeometry
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISktUse2DWFGeometry
Interface of 2D Geometry for sketch elements.
Role: This interface is used to determine geometric elements that belongs
to a sketch.
Method Index
- o
Duplicate()
- Duplicates the 2D geometry.
- o
Erase()
- Removes the 2D geometry.
- o
GetFamily(CATLISTV(CATISktUse2DWFGeometry_var)&)
- Returns the family of the geometric element.
- o
GetSketch()
- Returns a handler of the sketch that contains the 2D geometry.
- o
WasCreated(CATBoolean*)
- To known if the geometry was created during the current sketch edition.
- o
WasModified(CATBoolean*)
- To known if the geometry was modified or created during the current sketch edition.
Methods
o Duplicate
public virtual Duplicate( | ) |
-
Duplicates the 2D geometry.
o Erase
-
Removes the 2D geometry.
o GetFamily
public virtual GetFamily( | | oGeoms) |
-
Returns the family of the geometric element.
- Parameters:
-
- CATLISTV(CATISktUse2DWFGeometry_var)
- oGeoms
[out] The list of handlers corresponding to the expected family. The method does not reset
the list before adding entities.
- Returns:
- HRESULT
o GetSketch
public virtual GetSketch( | ) |
-
Returns a handler of the sketch that contains the 2D geometry.
Note: Please use GetSketch() method of CATISketchElement interface instead of this one.
o WasCreated
public virtual WasCreated( | | oStatus) |
-
To known if the geometry was created during the current sketch edition.
The request must be done during the sketch edition (before the sketch edition is closed).
Outside the sketch edition, the method will return E_FAIL.
- Parameters:
-
- CATBoolean
- *oStatus
[out] TRUE if the geometry was created.
- Returns:
- HRESULT
o WasModified
public virtual WasModified( | | oStatus) |
-
To known if the geometry was modified or created during the current sketch edition.
The request must be done during the sketch edition (before the sketch edition is closed).
Outside the sketch edition, the method will return E_FAIL.
- Parameters:
-
- CATBoolean
- *oStatus
[out] TRUE if the geometry was modified or created.
- Returns:
- HRESULT
This object is included in the file: CATISktUse2DWFGeometry.h
If needed, your Imakefile.mk should include the module: CATSketcherUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.