cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Easier ug_convert_part

Phenom
Phenom

NX9

 

I've used this utility for years, I setup a shortuct to the NX command window, type in the command, and then drag-n-drop the NX file.

 

The problem is, NX is new to this company, and many younger users have no idea what dos is, and other users give me that "Seriously?  this is 2016" look.  Some can't get the drag-n-drop to work for some reason.  I think Windows 8 and its admin "security" is partially to blame.

 

Years ago, I remember a GUI that made this very simple, but I can no longer find it.  Also, I've seen the journal that does it ( http://www.nxjournaling.com/content/convert-part-units ), which can be run from a native NX session.  Is this the current "easy" way to do it?  or how do others deal with unit conversion?  It doesn't happen much, at least at this site, but I suspect the shop in Indy deals with it more.

 

Thanks!

-Dave
NX 11 | Teamcenter 11 | Windows 8.1
12 REPLIES

Re: Easier ug_convert_part

Siemens Phenom Siemens Phenom
Siemens Phenom
NX Refile (in newer versions) supports unit conversion. You can set up an NX Refile Dispatcher Module for users to submit models to for units conversion.

Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: Easier ug_convert_part

Phenom
Phenom

"NX Refile Dispatcher Module" just went over my head...time to do some reading.   I'm going to guess that this monitors a directory, and runs when it sees something new?

-Dave
NX 11 | Teamcenter 11 | Windows 8.1

Re: Easier ug_convert_part

Siemens Phenom Siemens Phenom
Siemens Phenom

It's part of Teamcenter.  Dispatcher used to be called Translation Management and ETS before that.  It run translations and other tasks asynchronously in the background.  Users have to submit datasets or other object to it either manually or as part of a Workflow.


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: Easier ug_convert_part

Esteemed Contributor
Esteemed Contributor

I have added this feature to the context menu of the NX part files in explorer.

REG ADD "HKCR\UGpartfile\shell\convert_to_mm" /ve /d "Convert to metric" /f
REG ADD "HKCR\UGpartfile\shell\convert_to_mm\command" /ve /d "%ComSpec% /k call \"%UGII_ROOT_DIR%\ug_convert_part.exe\" -mm \"%1\"" /f

Run the above two lines as Administrator and all users should have the entry available.

Similar is possible for Inch, just change the appropriate parts.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Easier ug_convert_part

Phenom
Phenom
That makes it a right click option to convert?
-Dave
NX 11 | Teamcenter 11 | Windows 8.1

Re: Easier ug_convert_part

Esteemed Contributor
Esteemed Contributor

This is how the context menu looks like for us.

ExplorerContextMenu.png

 

 

 

"In MM umwandeln" is German for "Convert to metric" for example.

"Baugruppe auflisten" executes ugpc.

"Überprüfen" executes ug_inspect.

 

Simple and easy Smiley Wink

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Easier ug_convert_part

Phenom
Phenom

DaveK wrote:
That makes it a right click option to convert?

For native NX users, yes.

Re: Easier ug_convert_part

Phenom
Phenom

fwiw I sumbled upon the old GUI that runs the ug_convert.part script for you.

-Dave
NX 11 | Teamcenter 11 | Windows 8.1

Re: Easier ug_convert_part

Legend
Legend

I also wrote a GUI that runs the ug_convert.part script.  The image looks like

Image1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unfortunately I cannot currently check it but should be able to do in a week or 2 if you are interested.  This was one I did for John Baker many years ago.

 

Frank Swinkels