CAD[SolidWorks]
UpdateDocument
Calling Sequence
Parameters
Description
Examples
UpdateDocument(swdoc)
swdoc
-
a handle to a SolidWorks document
The UpdateDocument command updates and saves a SolidWorks document.
withCADSolidWorks:
OpenConnection:
doc≔OpenDocumentc:/mypart.sldprt
doc≔0
GetDimensionValuedoc,D1@Sketch1@mypart.Part
100
SetDimensionValuedoc,D1@Sketch1@mypart.Part=200
UpdateDocumentdoc
CloseDocumentdoc
doc≔1
200
CloseConnection:
See Also
Download Help Document