GetWorkPart - Maple Help

# Online Help

###### All Products    Maple    MapleSim

CAD[NX]

 GetWorkPart

 Calling Sequence GetWorkPart()

Description

 • The GetWorkPart command returns the file name of the current work part in NX.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}\left[\mathrm{NX}\right]\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