×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Questions about the wonderful world of Reuse library.

Questions about the wonderful world of Reuse library.

Questions about the wonderful world of Reuse library.

(OP)
Hello,

I am working in a educational environment.

I got the NX library of the standard parts working
on our systems W7 64bits NX7554.

I copied (not installed) the files from a XP installation
to C:\NX_custom_75\Machinery Library

I modified the settings in Customer defaults
- Display Reuse Library C:\NX_custom_75\Machinery Library
- Part Family Save Directory G:\NX_library (G:\ is Network home drive)

So all used library parts are put in G:\NX_library.

Question 1

When a student designs an assembly with library parts.
What is the best way to get all parts (including library parts)
into a zip file. So when I unzip this in a directory all parts
are available and I can grade it?

Question 2

when I save an assembly with library parts I get the following
error message (see attached jpg). Must you have write access to the
libraries?

Question 3

Is there an easy way to get the library elements saved as normal
part is your assembly? When I do a save as I have to rename the
part and the assembly every time.

Regards,

Olaf


RE: Questions about the wonderful world of Reuse library.

Q1: Search this forum (and the GTAC forum if you have access) for UGzip. This is a 3rd party utility that does exactly what you want.
A quick search turned up one thread that mentions the 32 bit version (probably won't work for your 64 bit machines, a more thorough search may turn something up for you)
thread561-304800: Export Assembly
Here is a thread that contains a script to work on 64 bit machines
thread561-316332: UGPC & 7zip in batch as alternative for ugzip

Q3: Save-as is a bit tricky, you don't have to rename the assembly every time. Let's assume you have part.prt and assembly.prt. When you do a save-as on part.prt, if assembly.prt is open it will prompt you to also rename assembly.prt; at this point you can press cancel and proceed with only renaming part.prt. At the end of this process you'll get a warning message such as "assembly.prt will reference the newly renamed part.prt". The existing assembly will reference the "saved-as" component, but you will need to save the assembly to save this change. If you close the assembly without saving first, it will reference the pre- "save-as" component.

If you are renaming multiple components of the assembly, the assemby clone tool would be appropriate. I'd suggest looking over the documentation in the help files and post back with any specific questions.

www.nxjournaling.com

RE: Questions about the wonderful world of Reuse library.

I searched the web some time ago and found on a German web a 64-bit version of the UGZIPC.
I then posted the files in a thread on this here, from there attachment is now missing.
Download the original kit from W-eng.com Follow the install instructions.
Then replace the two files in the zip file i have attached. ( renamed from zip to ipz)

You should then have a "Zip Assembly" option under File- Export.

Regards,
Tomas

RE: Questions about the wonderful world of Reuse library.

(OP)
Hello Tomas,

I found a version UGZipC V1.05, but it gives some errors compared with XP 32 bits.
Your dll has a different filesize and date is older 07-30 to 10-28 2010
So I will try this tomorrow, my test system is in a classroom which is now closed :(
In Europe almost everybody is at home at this time.

Regards,

Olaf

RE: Questions about the wonderful world of Reuse library.

(OP)
Hello,

I tested your version and I got the same problems:

1. Can't find files (N and DER_02, which doesn't exist in the assembly file)
ugzipc gives:

------------------- UGZipC Assembly Open Log ------------------
File N not found
File DER_02 not found
UGZipC V1.05, (c) wiedemann engineering 1999-2004, www.w-eng.de

And ugzipc continues OK.

2. ugzipc doesn't create the zip extension automatically after the file name
so the file isn't associated with any zipper program. See attachment.

The program seems to work, I have to test it yet as a normal user.

Regards,

Olaf

RE: Questions about the wonderful world of Reuse library.

(OP)

File N not found
File DER_02 not found

Seems to be related with my assembly. I can't find them,
( I would like that, because then I have learned something again)
but when I zipped a sub assembly of this assembly I didn't get this message.

Regards,

Olaf

RE: Questions about the wonderful world of Reuse library.

If you are having problems using UGzipC you might try cloning an assembly. After selecting the assembly in the Clone Assembly dialog. Click on the Naming tab and then click the Define Naming Rule button. Click the Add Suffix radio button and then in the Add/Replace/Rename String field hit your spacebar once and click OK (this will make all the *.prt file names in the clone identical to what they are now). Back on the Main tab hit Execute and select an empty folder somewhere for it to create the clone. Browse to that folder in your Windows explorer and zip the files up.

RE: Questions about the wonderful world of Reuse library.

(OP)
Hello BOPdesigner,

UGzipC seems to be easy for students.
Cloning can get confusing for students.
But I will have another look at it.

Regards,

Olaf

RE: Questions about the wonderful world of Reuse library.

We use clonning to to send out check sets for our checkers and also to take a picture of the whole project at a given date. We just open all models and all drawings, clone with appended date. We use cloning when a major design change comes through and this makes it very easy to prove completion at a certain date.

Jon C

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources