CAD[SolidWorks]
GetDocumentName
Calling Sequence
Parameters
Description
Examples
GetDocumentName(swdoc)
swdoc
-
a handle to a SolidWorks document
The GetDocumentName command retrieves the full pathname of an open SolidWorks document.
with⁡CADSolidWorks:
OpenConnection⁡:
doc≔GetActiveDocument⁡
doc≔0
GetDocumentName⁡doc
c:/mypart.sldprt
CloseConnection⁡:
See Also
Download Help Document