Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Save all files in NX 8.5

Status
Not open for further replies.

Mikedk64

Mechanical
Jan 15, 2015
18
Hi.

Lets say I need to give a NX assembly file to a customer.
Now, what I have is a top level assembly file filled with sub assy's, detail parts, nuts, bolts, etc; all of which are scattered throughout my companies network. It's no problem for me to load parts over the network however it is a problem for me to send this assy to a customer.

Is there a function where I can have NX save the assembly file AND copy all the required detail part files to one location?

I know in autodesk inventor this was called "pack n' go".

I using NX 8.5
 
Replies continue below

Recommended for you

You can search eng-tips for UGZIP which is an addon from a while back.
However one of my customers (budgiew) sent to this to me today, so it's relevant to pass on here:

After a little searching and some help from RonnyC @ Eng-Tips ([URL unfurl="true"]http://www.eng-tips.com/viewthread.cfm?qid=316332[/url]), I think there is a better solution. We can use ugpc.exe, a windows batch file and 7-zip to create a better solution. Attached is the batch file I use, the prerequisites are NX obviously and 7-zip.

For this to work we need the following

1 - Save the batch file somewhere on the system
2 - Set the path in the batch file to the location, for me, "C:\Custom\NX90custom\NX90library\Export_7zip_Assy.bat" and check that the path to the 7-zip install is correct, for me, "C:\Program Files\7-Zip\7z"
3 - Create the shell extension in the registry, and add the command block to the registry, or use the below data in a *.reg file

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Zipassy]
@="ZipAssy"

[HKEY_CLASSES_ROOT\*\shell\Zipassy\command]
@="\"C:\\Custom\\NX90custom\\NX90library\\Export_7zip_Assy.bat\" %1"

4 - Now we can right mouse click on the assembly file in windows explorer and select "ZipAssy"

download.aspx


5 - Done, too easy, all of the assembly files are contained in the zip, essentally we now have pack-n-go

download.aspx


We can also have a zip file in place of 7z by editing the below lines in the batch file

For a zip file - "C:\Program Files\7-Zip\7z" a -tzip -mx7 %~n1.zip @%1.txt
for a 7z file - "C:\Program Files\7-Zip\7z" a -t7z -mx5 %~n1.7z @%1.txt


Anthony Galante
Senior Support Engineer


NX3 to NX10 with almost every MR (21versions)
 
UGZIP does the same thing. Runs UGPC to collect the components of the assembly and then zips that folder. It can also be added to the registry as a Zip Assy click option.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
The reason my user had sent the information and batch to me was that he had run into the limitation on the number of characters in the file path that UGZIP has.

The method described above doesn't suffer from that, that's why he sent it to me to pass onto anyone else that asked.


Anthony Galante
Senior Support Engineer


NX3 to NX10 with almost every MR (21versions)
 
looslib:

Can UGZIP run with MX 8.5?
Do you have a link to downloade?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor