DraftingUseItf Interface CATIDftSpecialDressUpFactory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDftSpecialDressUpFactory
Interface factory to create axis lines, center lines and threads.
Role: Use this interface to create axis lines, center lines and threads in the object which
implements this interface (i.e. views, 2D component references, ...).
Note: The creation of those features are linked to available authoring license.
Method Index
- o
CreateAxisLine(CATBaseUnknown_var&,CATBaseUnknown_var&,CATIDftAxisLine**)
- Creates an Axis Line.
- o
CreateCenterLine(CATBaseUnknown_var&,CATBaseUnknown_var&,CATIDftCenterLine**)
- Creates a Center Line.
- o
CreateThread(CATBaseUnknown_var&,CATBaseUnknown_var&,int,CATDftThreadTypeEnum,CATIDftThread**)
- Creates a Thread.
Methods
o CreateAxisLine
public virtual CreateAxisLine( | const | iReference1, |
| const | iReference2, |
| | oAxisLine) |
-
Creates an Axis Line.
- Parameters:
-
- iReference1
- [in] First Reference Object (2D or Generated Geometry)
- iReference2
- [in] Second Reference Object (2D or Generated Geometry)
iReference2 may equal to NULL_var, if the first reference,iReference1, allows to place
correctly the axis line. For example if iReference1 is a Generated Geometry linked to a 3D cylinder.
- oAxisLine
- [out, CATBaseUnknown#Release] Created axis line
- Returns:
-
- S_OK
- if the operation succeeded.
- E_FAIL
- if the operation failed.
o CreateCenterLine
public virtual CreateCenterLine( | const | iReference, |
| const | iDirection, |
| | oCenterLine) |
-
Creates a Center Line.
- Parameters:
-
- iReference
- [in] Reference Object (2D or Generated Geometry)
- iDirection
- [in] Direction Reference. (2D or Generated Geometry).
The Direction is optional. iDirection may equal to NULL_var.
- oCenterLine
- [out, CATBaseUnknown#Release] Created center line
- Returns:
-
- S_OK
- if the operation succeeded.
- E_FAIL
- if the operation failed.
o CreateThread
public virtual CreateThread( | const | iRef, |
| const | iDirection, |
| | iQuadrant, |
| | iType, |
| | oThread) |
-
Creates a Thread.
- Parameters:
-
- iReference
- [in] Reference Object (2D or Generated Geometry)
- iDirection
- [in] Direction Reference (2D or Generated Geometry)
The Direction is optional. iDirection may equal to NULL_var.
- iQuadrant
- [in] Quadrant (equals 1 to 4)
- iType
- [in] Thread Type (Taped or Thread)
- oThread
- [out, CATBaseUnknown#Release] Created thread
- Returns:
-
- S_OK
- if the operation succeeded.
- E_FAIL
- if the operation failed.
This object is included in the file: CATIDftSpecialDressUpFactory.h
If needed, your Imakefile.mk should include the module: CATDraftingUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.