.NET Framework Class Library
CADSystem.SaveAsByUniqueIdEDrawing Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > CADSystem Class > CADSystem Methods > .NET Framework Class Library |
Creates an eDrawing file (*.EPRT, *.EASM or *.EDRW) of the document with unique id equal to UniqueId (part, assembly or drawing) If eDrawingRoot and eDrawingID are specified, the fullpathname of saved file is of type eDrawingRoot+eDrawingID+_eDrawing extension_, otherwise _original file name_._configuration._eDrawing extension_ If okAttach=true then the new document is appended as a child to the original one.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function SaveAsByUniqueIdEDrawing ( _ docUid As String, _ |
C# |
|---|
public ShellResult SaveAsByUniqueIdEDrawing( string docUid, |
Visual C++ |
|---|
public: ShellResult^ SaveAsByUniqueIdEDrawing( |
JavaScript |
|---|
function saveAsByUniqueIdEDrawing(docUid, eDrawingRoot, eDrawingID, okAttach, outputFile); |
Parameters
docUid
Type: System.String
the unique id of the document to save.
eDrawingRoot (Optional)
Type: System.String
Optional. The root folder of the eDrawing file to save
eDrawingID (Optional)
Type: System.String
Optional. The name of the eDrawing file to save
okAttach (Optional)
Type: System.Boolean
Optional. TRUE the new document is appended as a child to the original one, FALSE otherwise
outputFile (Optional)
Type: System.String
Optional. Output: fullpathname of saved file
Return Value
Shell result object. For SolidWorks, the following items are available: "@SWSAVEAS_SOLIDWORKS_ERROR", "@SWSAVEAS_SOLIDWORKS_ERROR_STRING", "@SWSAVEAS_SOLIDWORKS_WARNING"
Remarks
See Also