CAD[NX] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

CAD[NX]

 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):$

 See Also

## Was this information helpful?

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