Quoting from the SFBMail website, 'SFB is the vehicle to inform the customer of any technical tips, updates, workarounds, and vendor hardware and software release certifications. When SFBs are released, they will be mailed to this list first.'
Just navigate to http://support.ugs.com/mailman/listinfo/sfbmail and enter your mail address to receive the updates. It's helpful to see a notification that a patch you've been waiting for is out.
Showing posts with label admin. Show all posts
Showing posts with label admin. Show all posts
Saturday, January 12, 2008
NX5 on Ubuntu x64
Tuesday, January 8, 2008
Renaming components outside of NX
If for some reason I needed to rename one of my components in an assembly; here's how I did it so far :
Instead, there's a command line utility under UGII directory called ug_edit_part_names.exe, which changes the reference of the renamed part in the parent. The good thing is that you don't need to actually load the parts to save the changes.
Suppose the assembly structure is like this :
assy
..|---part1
..|---part2
..|---part3
.......|---part3a
.......|---part3b ---> part3_renamed
If you need to rename part3b into part3_renamed ; here's the syntax :
ug_edit_part_names part3.prt -o part3.prt -change_name part3b.prt part3_renamed.prt
I must note that this tool does not rename the file itself, it merely updates the referencing parent. So you need to rename the file yourself at the O/S level.
There are some more uses;
ug_edit_part_names assy.prt -o assy.prt -upper_name will make all the components uppercase. Try ug_edit_part_names -examples for a few more usage examples including querying / changing the last known whereabouts of a component.
This could be used along with ugpc to rename components in a batch process, in case the clone assembly's renaming features are not fit for your needs.
- Rename the part in windows
- Open the parent of this component
- Click OK for the warning saying that the component couldn't be found/loaded
- Open As.. or Substitute the component with the new one.
Instead, there's a command line utility under UGII directory called ug_edit_part_names.exe, which changes the reference of the renamed part in the parent. The good thing is that you don't need to actually load the parts to save the changes.
Suppose the assembly structure is like this :
assy
..|---part1
..|---part2
..|---part3
.......|---part3a
.......|---part3b ---> part3_renamed
If you need to rename part3b into part3_renamed ; here's the syntax :
ug_edit_part_names part3.prt -o part3.prt -change_name part3b.prt part3_renamed.prt
I must note that this tool does not rename the file itself, it merely updates the referencing parent. So you need to rename the file yourself at the O/S level.
There are some more uses;
ug_edit_part_names assy.prt -o assy.prt -upper_name will make all the components uppercase. Try ug_edit_part_names -examples for a few more usage examples including querying / changing the last known whereabouts of a component.
This could be used along with ugpc to rename components in a batch process, in case the clone assembly's renaming features are not fit for your needs.
Thursday, November 1, 2007
Use middle mouse button for OK outside of NX

I sometimes catch myself hitting the middle mouse button to hit OK and see that nothing ever happens because it's not NX I'm using! This surely is because of the time I spend in NX, but why cannot we use this in say, Options dialog of Internet Explorer ?
Here's a quick solution I've managed to compile. Download this small executable, and it will stay on your traybar waiting for your middle-click. If you hold it longer than 20 milliseconds (which is slightly longer than a single click for most people) it will find the OK button in the active dialog/window and hit it. Also, you can use CTRL+midbutton for Apply.
It has no options yet, but I'll add a few when I have some spare time. Drop me a line if you would like the source file as well…
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.
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.
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.
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)
Subscribe to:
Posts (Atom)

