CAD[NX] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

CAD[NX]

 ClosePart

 Calling Sequence ClosePart() ClosePart(partfile)

Parameters

 partfile - string; the name of an NX part file

Description

 • The ClosePart command closes an open NX part file. If no partfile argument is given, then all open parts are closed.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}[\mathrm{NX}]\right):$
 > $\mathrm{OpenConnection}\left(\right):$
 > $\mathrm{OpenPart}\left("screw.prt"\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{ClosePart}\left("screw.prt"\right)$
 ${\mathrm{true}}$ (2)
 > $\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