CAD[SolidWorks][UpdateDocument] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : CAD Package : SolidWorks : CAD/SolidWorks/UpdateDocument

CAD[SolidWorks][UpdateDocument]

Calling Sequence

UpdateDocument(swdoc)

Parameters

swdoc

-

a handle to a SolidWorks document

Description

• 

The UpdateDocument command updates and saves a SolidWorks document.

Examples

withCAD[SolidWorks]:

OpenConnection:

doc:=OpenDocumentc:/mypart.sldprt

doc:=0

(1)

GetDimensionValuedoc,D1@Sketch1@mypart.Part

100

(2)

SetDimensionValuedoc,D1@Sketch1@mypart.Part=200

UpdateDocumentdoc

CloseDocumentdoc

doc:=OpenDocumentc:/mypart.sldprt

doc:=1

(3)

GetDimensionValuedoc,D1@Sketch1@mypart.Part

200

(4)

CloseDocumentdoc

CloseConnection:

See Also

CAD[SolidWorks]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam