CAD[SolidWorks] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

CAD[SolidWorks]

 OpenDocument

 Calling Sequence OpenDocument(f)

Parameters

 f - string; name of a SolidWorks document

Description

 • The OpenDocument command opens a SolidWorks document and returns a handle.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}[\mathrm{SolidWorks}]\right):$
 > $\mathrm{OpenConnection}\left(\right):$
 > $\mathrm{doc}≔\mathrm{OpenDocument}\left("c:/mypart.sldprt"\right)$
 ${\mathrm{doc}}{:=}{0}$ (1)
 > $\mathrm{CloseDocument}\left(\mathrm{doc}\right)$
 > $\mathrm{CloseConnection}\left(\right):$

 See Also

## Was this information helpful?

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