SetWorkPart

 Calling Sequence SetWorkPart(partfile)

Parameters

 partfile - string; the name of an NX part file

Description

 • The SetWorkPart command sets the given part file to be the current work part in an NX session.

Examples

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