CATSketcherToolsUseItf CATSketcherToolbox
Usage: you must use this class as is. You should never derive it.
public class CATSketcherToolbox
Toolbox containing services linked to the current Drafting or Sketcher application editor.
Method Index
- o
BuildPath(IUnknown*,CATPathElement*&)
- Create a Path Element for any element aggregated by a Sketh or Drawing View.
Methods
o BuildPath
public static BuildPath( | | iElem, |
| | oPath) |
-
Create a Path Element for any element aggregated by a Sketh or Drawing View.
Role: Create a path Element for any elements aggregated by a Sketh or a Drawing View. UI active Object must be either a
Drawing like feature or a Sketch like feature.
In the other cases this service fails. For other drafting/Sketcher elements (e.g. Drawing, Sheet, Sketch,...) use CATIBuildPath.
This service uses the current UI-Active path as creation context for the output path. For more information about path context, see CATIBuildPath.
As a consequence, using this service in an UIAtive object change transaction may lead to unpredictible result. See CATFrmEditor::SetActivePath
- Parameters:
-
- iElement
- Pointer on element from which the path element will be created.
- oPath
- Path element.
- Returns:
- HRESULT
- S_OK
- The Path Element has been correctly created.
- E_FAIL
- if the operation failed.
- E_INVALIDARG
- Check input argument
- E_UNEXPECTED
- Check input argument, UI active Object or calling context.
- See also:
-
- See also:
-
- See also:
-
This object is included in the file: CATSketcherToolbox.h
If needed, your Imakefile.mk should include the module: CATSktToolsUseItf1
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.