CloseConnection - Maple Help

Home : Support : Online Help : Connectivity : CAD Package : NX : CloseConnection

 CloseConnection

 Calling Sequence CloseConnection()

Description

 • The CloseConnection command releases an open instance of NX.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}:-\mathrm{NX}\right):$
 > $\mathrm{OpenConnection}\left(\right):$
 > $\mathrm{OpenPart}\left("C:\\Program Files\\Siemens\\NX 8.5\\NXPARTS\\Reuse Library\\Reuse Examples\\Standard Parts\\ANSI Inch\\Screw\\Hex Head\\Hex Cap Screw, Full Thd, AI.prt"\right):$
 > $\mathrm{doc}≔\mathrm{GetWorkPart}\left(\right)$
 ${\mathrm{doc}}{≔}{"C:\Program Files\Siemens\NX 8.5\NXPARTS\Reuse Library\Reuse Examples\Standard Parts\ANSI Inch\Screw\Hex Head\Hex Cap Screw, Full Thd, AI.prt"}$ (1)
 > $\mathrm{CloseConnection}\left(\right):$