CAD[NX] - Maple Programming Help

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

 OpenPart

 Calling Sequence OpenPart(partfile)

Parameters

 partfile - string; name of an NX part file

Description

 • The OpenPart command opens an NX part file and sets it to be the displayed and current work part.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}[\mathrm{NX}]\right):$
 > $\mathrm{OpenConnection}\left(\right):$
 > $\mathrm{doc}≔\mathrm{OpenPart}\left("screw.prt"\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{ClosePart}\left("screw.prt"\right)$
 > $\mathrm{CloseConnection}\left(\right):$