CAD[SolidWorks] - Maple Programming Help

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

 OpenConnection

 Calling Sequence OpenConnection()

Description

 • The OpenConnection command initializes a connection with a SolidWorks session.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}[\mathrm{SolidWorks}]\right):$
 > $\mathrm{OpenConnection}\left(\right):$
 > $\mathrm{doc}≔\mathrm{GetActiveDocument}\left(\right)$
 ${\mathrm{doc}}{:=}{0}$ (1)
 > $\mathrm{CloseConnection}\left(\right):$