Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export to STEP problem

Status
Not open for further replies.

thomasleeclark

Mechanical
Apr 15, 2010
29
I am using NX5 in native mode. The File>Eport>STEP203 command fails to produce a correct .stp file. Apparently it can no longer find the source component files of my assembly. I set search folders in NX long ago using File>Options>Assembly Load Options... and recently checked them. Assemblies load just fine.
Do I need to set search directories for the UG to STEP engine separately? Help, this used to work!

I am uploading the ERROR .log file which was generated, as well as the ugsstep203.def file on my system.
Thank you - tom clark
 
Replies continue below

Recommended for you

Your def file is the problem:

UGI_LOAD_OPTION = Load From Assem Dir
UGI_SEARCH_DIRS =

It's set to load from folder so it's ignoring your load options. I'm not in front of NX at the moment otherwise I would tell you how to change the def file to make it use your load options file. Check the help or I will respond when I get to work.


Anthony Galante
Senior Support Engineer

NX4.0.4MP10, NX5.0.0->5.0.6, NX6.0.0->NX6.0.5, NX7.0.0->NX7.0.1 & NX7.5.0.32-> NX7.5.4.4, Beta NX8.0.0.23
 
Try setting

UGI_LOAD_OPTION = Load As Saved

or

UGI_LOAD_OPTION = Search Directories
UGI_SEARCH_DIRS = c:\test\parts,c:\test\parts\part1,c:\test\parts\part2

The search dirs don't allow ... so you need to explicitly set the subfolders.

Anthony Galante
Senior Support Engineer

NX4.0.4MP10, NX5.0.0->5.0.6, NX6.0.0->NX6.0.5, NX7.0.0->NX7.0.1 & NX7.5.0.32-> NX7.5.4.4, Beta NX8.0.0.23
 
Thanks for your replies, Anthony.
Neither of your suggestions has worked for me. I am attaching a ZIP file containing the latest error log, the modified def file I used, as well as a screen capture of my NX Assembly Load options.

So far, the only method that works is:
1) Use the original def file (UGI_LOAD_OPTION = Load As Saved)
2) Copy ALL the relevant assembly and component files into one directory, same as STEP file destination.

-tom clark
 
 http://files.engineering.com/getfile.aspx?folder=f41e5c9c-bb4a-42f5-a50a-8ae602cabbc9&file=ERROR_UG_to_STEP_2.zip
Try editing your ugstep203.def so that

UGI_PROC_ASSEM = Overwrite load_options.def values

It look's like there's a bug in NX5 that might be the cause of your frustration (PR-02103230 fixed in NX6.0.1).

The other way might be to set the environment variable UGII_LOAD_OPTIONS (not in the def file but at the system level or in the env.dat) so that it points directly to your load_options.def file. Then remove the UGI_LOAD_OPTION in the ugstep203.def so that it forces the system to use the load_options.def you've specified.

If that doesn't help GTAC or an update to NX6 or above might be your only option.

Anthony Galante
Senior Support Engineer

NX4.0.4MP10, NX5.0.0->5.0.6, NX6.0.0->NX6.0.5, NX7.0.0->NX7.0.1 & NX7.5.0.32-> NX7.5.4.4, Beta NX8.0.0.23
 
Anthony,
The first solution had no effect. (I tried using both Load As Saved and Search Directories for UGI_LOAD_OPTION.)

Concerning the second idea:
I can set the UGII_LOAD_OPTIONS variable using Control Panel>System>Advanced>Environment Variables>New, yes? What do I type in for the value, the pathway for the load_options.def file?
(I assume I should put UGI_PROC_ASSEM in the def file back to Use load_options.def options?)
Thanks for all your help-
tom clark
 
Yes that's where you set the variable. Full path including the filename of load_options.def. I would say yes to setting the UGI_PROC_ASSEM back to the default

Anthony Galante
Senior Support Engineer

NX4.0.4MP10, NX5.0.0->5.0.6, NX6.0.0->NX6.0.5, NX7.0.0->NX7.0.1 & NX7.5.0.32-> NX7.5.4.4, Beta NX8.0.0.23
 
Nothing has worked, Anthony. I set UGII_LOAD_OPTIONS using Control Panel, and also added the full pathname for load_options.def to the \UGII\ugii_env.dat file. Nada!
Thanks again for trying. I guess I'll put up with it until we upgrade to NX7.
Thomas L. Clark
Teledyne Relays
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor