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.
with⁡CADSolidWorks:
OpenConnection⁡:
doc≔OpenDocument⁡c:/mypart.sldprt
doc≔0
GetDimensionValue⁡doc,D1@Sketch1@mypart.Part
100
SetDimensionValue⁡doc,D1@Sketch1@mypart.Part=200
UpdateDocument⁡doc
CloseDocument⁡doc
doc≔1
200
CloseConnection⁡:
See Also
Download Help Document