Thursday, October 25, 2007

Unigraphics nostalgia

If you're interested in the history of CAD/CAM systems (especially Unigraphics, starting from 1960s) you must visit John Baker's great UG museum at http://www.plmworld.org/museum/


It's quite shocking to see that people used computers with displays even worse than Commodore64 to design an automobile. Maybe I'll print out some pictures and show it to one of those users who complains that he's doing lots of extra work while making an A0 drawing in just 5 minutes!

Tuesday, October 16, 2007

Speeding up the uninstallation

Uninstalling NX can be a very long process, especially if you have an old/fragmented hard drive. The reason is that Installshield (the engine behind the curtains) checks for every single file installed within the directory. When you think about the number of files in your NX installation (mine has 122.000+ files !), you'll understand why this file-checking slows you down.

Here's a trick to speed things up : before going into Add/Remove Programs, shift+delete your installation. This won't be deleting your uninstall data.
Then proceed to Add/Remove Programs and uninstall the product as you'd normally.

The amount of time you've gained adds up to a considerable amount if you need to do this on quite a number of machines.

This 'method' can also be used to uninstall the UGDOCS installation.

Thursday, October 4, 2007

Monitoring FlexLM license usage

The best friend of anyone who has got anything to do with flexlm, is the log file of the server.

But as you know, the 'view log' command of LMTOOLS is dumb as hell. It just shows you the situation at moment you click View Log. (well it does not even have a close button on the upper right corner, it's too much to ask for a scrolling live log feed ! )

With the help of the old `tail` command from UNIX systems, it's easy to watch a logfile in realtime. You won't have to install a flavor of UNIX for this, luckily someone has ported this nifty utility to Win32 platform : get it here. (it's licensed under GNU/GPL)

After you tell Tail32 to watch your UGS License Server, it will look like this :


Now you're one step closer to controlling the universe. Quite cool, right ?

If you're a CAE-oriented-guy and see the world in meshes, you can use this to watch as your .op2 solution file grows bigger and bigger.

Wednesday, October 3, 2007

.PRT extension and multiple NX versions


If you have multiple NX versions installed, you may sometimes need to be able to open a part with say, NX4 but not with the latest version.

Normally, what NX does is it tries to see whether you have an already open NX session. If you do, the .prt file you've double clicked is routed to this session. If not, then the latest version of NX installed is launched, and the .prt is opened.

There's a '-version' parameter of ugs_router.exe to specify the exact version you'd like to open your part with. The versions are as follows :
  • UG V18 : -version=V18.0
  • NX : -version=V19.0
    ..
  • NX4: -version=V22.0
  • NX5: -version=V23.0 and so on.
So, if you go to My Computer - Tools - Options - File Types and find PRT in this list and change the default "open" command in such a way that it includes -version parameter, Windows will launch the specific version of NX in case of a double click.

For multiple versions, you need to define new "commands" in Edit File Type window. Or, if you're lazy- here's the .reg file itself. (the NX path might not match your system, be sure to change it out before importing into your registry)

Monday, October 1, 2007

Interpart Link Browser



Here's how to see all your interpart stuff collected in one place, before all gets too complicated to verify. Go to Assemblies - WAVE - Interpart Link Browser.

You can investigate object links, features or parts; and also edit or delete these links.

Emphasize your Sketch


With the help of "Dim objects off work plane" option, you can have your out-of-the-sketch-plane objects look dimmed.

It's hidden under the Utility toolbar.

Once you get used to this setting, you'll find your previous experience with sketches to be way too colorful.