.NET Framework Class Library
CADSystem.SaveAsByUniqueId Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > CADSystem Class > CADSystem Methods > .NET Framework Class Library |
Creates a duplicate of type extension of the CAD document with unique id equal to UniqueId. 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 SaveAsByUniqueId ( _ docUid As String, _ |
C# |
|---|
public ShellResult SaveAsByUniqueId( string docUid, |
Visual C++ |
|---|
public: ShellResult^ SaveAsByUniqueId( |
JavaScript |
|---|
function saveAsByUniqueId(docUid, extension, okAttach, outputFile); |
Parameters
docUid
Type: System.String
the unique id of the document to save.
extension
Type: System.String
the extension that will be applied to the saved document
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. Input: if not "", fullpathname (with extension) of new file to save. 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