Tuesday, October 7, 2008

Find out which dimensions were manually typed


This trick is from SFBMail, and is applicable to NX3 and higher.

When you give an "Information - Other - ObjectSpecific" command, you'll see that there's an option to find out 'Dimensions with Manual Text'. This way you can easily highlight dimension texts with manual text when you're reviewing a technical drawing.

Thursday, July 3, 2008

Exposing NX attributes to Windows Explorer

If you'd like to see or modify your part attributes outside of NX, here's a simple trick :

-Click on Start - Run... and type the following :

regsvr32 "C:\Program Files\UGS\NX 5.0\UGII\ugpropext.dll"

-You'll see that the dll has been registered successfully.

-Log off and logon again (or just end the 'explorer.exe' task and create a new one if you're as lazy as me)


I've tried this with NX4.0.4 and NX5.0.4 successfully.

Monday, June 30, 2008

NX6 is ready for download

Much awaited version of NX that includes the `Synchronous Technology` is ready for download, from http://ftp.ugs.com/.

Saturday, May 3, 2008

GRIP code library

For those customizers who haven't switched to a standard programming language in NX yet, here's a library of GRIP programs that might be useful as they are, or when you're writing your own GRIP code.
http://www.plmworldgroups.org/grip/main_index_s.html

If you're a beginner though, it is highly suggested to have a look at the Journaling capabilities of NX with your own language preference : Visual Basic.NET, C++ or Java. For journaling, PLMWorld has a library here.

Friday, April 25, 2008

Undo memory management

To decrease the physical memory usage of NX5, you can have the undo files written to disk instead when the physical memory is about to be exhausted by setting this environment variable :

  • UGII_CLOSE_UNDO_MODE=CHECK

Thursday, April 24, 2008

2008 Customer survey for NX

This year's voting process has begun.

For those who haven't heard CIP before, it's a voting system to prioritize the Enhancement Requests for the software. If you have an active maintenance, go ahead and vote !

http://www.plm.automation.siemens.com/CIP/CIP.asp

Synchronous Technology is launched

NX has been best known for its ability to present users lots of ways to do the same task - using different modeling disciplines like solid, surface, hybrid, parametric, or 'direct' modeling; at the same time without having to switch between from one to another.

Synchronous Technology seems to be an addition to these modeling techniques. At first it might sound like "Direct Modeling" which is already there in NX, but it actually is much more than that.

What it does is that when you make a change, the kernel examines the obvious dependencies the change will affect (like being tangent, concentric, parallel, etc) and tries to preserve them while honoring the parametric structure at the same time, thus the name `synchronous technology`.

What is the benefit ? You can for example use the section view curves to drive the model itself ! I know this sounds quite promising, but you can see this from this launch video here.

Next versions of both NX and SolidEdge will benefit from this new layer of tools, sitting on top of Parasolid and D-Cubed technology. A more technical description can be found in this white paper (registration required)

Monday, April 21, 2008

Change sketch dimensions in Drafting

NX methodology normally suggests that your drafting, toolpaths, CAE model etc all depend on your 3D model, so the changes should propogate from 3D model to the rest. (thus the name master and non-master parts)

What it means, is that if you change a drafting dimension of a line from 50 to 55 mm in drafting , you'll only get a warning that the associativity between the dimension and the geometry will be lost, and your line length will remain unchanged.

Normally this really is not a problem in NX, as switching between applications like modeling and drafting is quite easy. But if you are switching to NX from another CAD application, you might want to try this approach :

  • set UGII_DRAFT_EXPRESSIONS_OK = 1
  • create a sketch
  • create a view of the model in drafting
  • select Insert -> Feature Parameters command, and place the sketch dimensions into your view
  • Hit CTRL + E (expressions) and select a dimension of the sketch. You'll be able to modify and update without having to go back to modeling.

Sunday, April 20, 2008

Duplicating a drawing sheet

It amazes me how flexible import and export part commands can sometimes be. Here's a way to duplicate your drawing sheet within your work part.

  • Save your part
  • Launch `File - Export - Part`.
  • Select Part Specification : Existing
  • Select "Specify Part" and choose your workpart from your list.
Your current sheet should be duplicated quickly.

Tuesday, April 1, 2008

Automated installation of NX5

Although setting up NX is easier than Winamp nowadays, an unattended installation script might come handy if you have small amount of time and lots of machines to get up and running.

Assuming that you have NX4 installed, and you want to install NX5.0.4, here's a sample script :
(be sure to copy / paste the text into a blank text file, as there might be autobreaks in place)

@ ---- COPY START FROM HERE

@echo off
start /wait msiexec /qn /i "
D:\nx5_setup\ISScript10.msi"

echo NX4 translators are being uninstalled...
start /wait msiexec /qn /x "
D:\nx4_setup\translators040\UGS NX 4.0 Translators.msi"
echo NX4 is ...
start /wait msiexec /qn /x "
D:\nx4_setup\nx040\UGS NX 4.0.msi"


echo NX5 and translators are being installed...
start /wait msiexec /qn /i "
D:\nx5_setup\UGS NX 5.0.msi" ADDLOCAL="all" INSTALLDIR="C:\UGS\NX5" LICENSESERVER=28000@license_server


echo Updating NX to 5.0.4 ...
cd /D
D:\ugs_update0504
start /wait xcopy
D:\ugs_update0504\*.* "C:\UGS\NX5" /E /F /H /Y /R >NUL

echo updating Visual C++ libraries ...
start /wait
D:\ugs_update0504\vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qn" >NUL 2>&1


echo NX5 setup complete
pause

@ ---- COPY END HERE

Monday, February 18, 2008

Automatically execute macros on NX startup

Here is a way to automatically execute a macro on NX startup :

Append -key:macroname.macro to your startup command. This might be ugii.bat, or the router itself.

Saturday, January 12, 2008

Rotate, zoom, pan with F keys

If you have an I-DEAS background and you're using NX now, this environment setting is definitely for you. Most ex-IDEAS users I've seen complain that (well they complain about a lot of things) the rotate/zoom/pan stuff in NX is 'different'. *

To have the same usability, set UGII_FKEY_DYNAMICS=1, and you'll have the F1, F2, F3, F4 keys working just like they did in I-DEAS: Zoom, rotate, pan, etc.

*: If you haven't used I-DEAS before and you like these, then all I can say is that you've gone to The Dark Side.

Software Field Bulletin (SFBMail)

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.

NX5 on Ubuntu x64

Although it's not supported officially, here's how you can install NX5 on a Ubuntu 64 bit box with the help of Showan2 from ubuntuforums.org.

Ubuntu seems to be gathering interest from many linux desktop users. (Don't count me in, I'm happy with my Windows XP x64 Edition!)

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 :

  • 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.