CAD[NX] - Maple Programming Help

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

 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}[\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):$