Shop Drawing Controller
-
interface ICwAPI3DShopDrawingController
Public Functions
-
virtual ICwAPI3DString *getLastError(int32_t *aErrorCode) = 0
Gets the last error.
- Parameters:
aErrorCode – [out] [int32_t*] The error code.
- Returns:
[ICwAPI3DString*] The error string.
-
virtual void export2DWireframeWithClipboard(uint32_t aClipboardNumber, bool aWithLayout = false) = 0
Exports a 2D wireframe to the clipboard.
- Parameters:
aClipboardNumber – [uint32_t] The clipboard number.
aWithLayout – [bool] Use layout, false by default.
-
virtual void export2DHiddenLinesWithClipboard(uint32_t aClipboardNumber, bool aWithLayout = false) = 0
Exports a 2D hidden lines to the clipboard.
- Parameters:
aClipboardNumber – [uint32_t] The clipboard number.
aWithLayout – [bool] Use layout, false by default.
-
virtual void export2DWireframeWith2DC(const character *aFilePath, bool aWithLayout = false) = 0
Exports a 2D wireframe to a 2DC file.
- Parameters:
aFilePath – [const character*] The export file path.
aWithLayout – [bool] Use layout, false by default.
-
virtual void export2DHiddenLinesWith2DC(const character *aFilePath, bool aWithLayout = false) = 0
Exports a 2D hidden lines to a 2DC file.
- Parameters:
aFilePath – [const character*] The export file path.
aWithLayout – [bool] Use layout, false by default.
-
virtual void exportWallWithClipboard(uint32_t aClipboardNumber, ICwAPI3DElementIDList *aElementIdList) = 0
Exports a wall to the clipboard.
- Parameters:
aClipboardNumber – [uint32_t] The clipboard number.
aElementIdList – [ICwAPI3DElementIDList*] The elements to export.
-
virtual void exportExportSolidWithClipboard(uint32_t aClipboardNumber, ICwAPI3DElementIDList *aElementIdList) = 0
Exports an export solid to the clipboard.
- Parameters:
aClipboardNumber – [uint32_t] The clipboard number.
aElementIdList – [ICwAPI3DElementIDList*] The elements to export.
-
virtual void exportPieceByPieceWithClipboard(uint32_t aClipboardNumber, ICwAPI3DElementIDList *aElementIdList) = 0
Exports a piece-by-piece to the clipboard.
- Parameters:
aClipboardNumber – [uint32_t] The clipboard number.
aElementIdList – [ICwAPI3DElementIDList*] The elements to export.
-
virtual void assignExportSolid(ICwAPI3DElementIDList *aCeoElement, ICwAPI3DElementIDList *aElementIdList) = 0
Assigns elements to an export solid.
- Parameters:
aCeoElement – [ICwAPI3DElementIDList*] The export solid to assign.
aElementIdList – [ICwAPI3DElementIDList*] The elements to assign.
-
virtual void exportContainerWithClipboard(uint32_t aClipboardNumber, ICwAPI3DElementIDList *aElementIdList) = 0
Export a container to the clipboard.
- Parameters:
aClipboardNumber – [uint32_t] The clipboard number.
aElementIdList – [ICwAPI3DElementIDList*] The elements to export.
-
virtual void addWallSectionHorizontal(elementID aElementId, vector3D aPosition) = 0
Adds a horizontal wall section.
-
virtual void addWallSectionVertical(elementID aElementId, vector3D aPosition) = 0
Adds a vertical wall section.
-
virtual void exportWallWithClipboardAndPresetting(uint32_t aClipboardNumber, ICwAPI3DElementIDList *aElementIdList, const character *aPresettingFile) = 0
Exports a wall to the clipboard.
- Parameters:
aClipboardNumber – [uint32_t] The clipboard number.
aElementIdList – [ICwAPI3DElementIDList*] The element id list to export.
aPresettingFile – [const character*] The presetting file path.
-
virtual void loadExportPieceByPieceSettings(const character *aSettingsFilePath) = 0
Loads piece by piece export settings.
- Parameters:
aSettingsFilePath – [const character*] The settings file path.
-
virtual void saveExportPieceByPieceSettings(const character *aSettingsFilePath) = 0
Saves piece by piece export settings.
- Parameters:
aSettingsFilePath – [const character*] The settings file path.
-
virtual void clearErrors() = 0
Clears all errors.
-
virtual void loadExportWallSettings(const character *aSettingsFilePath) = 0
Loads wall export settings.
- Parameters:
aSettingsFilePath – [const character*] The settings file path.
-
virtual ICwAPI3DString *getLastError(int32_t *aErrorCode) = 0