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!

is there a "save as" for assemblies? 1

Status
Not open for further replies.

teookie

Mechanical
Sep 1, 2010
56
I have a large assembly with over 400 components all saved into one folder on my computer. I've been working this assembly for a while now so I have many files in this folder that are no longer used in the actual assembly. Is there some way to have NX6 copy all files that are actually used in the assembly into another directory? This would allow me to easily weed out all the 'old' unused files from my computer.

I'm aware of the clone command and it does what I want with the exception being that it renames the files. I want to preserve my original file names.

Any ideas?

Thanks.
 
Replies continue below

Recommended for you

teookie said:
many files in this folder that are no longer used in the actual assembly. Is there some way to have NX6 copy all files that are actually used in the assembly into another directory?
How would NX know which components you intend to use? Since you added them all to the assembly, they are all technically 'used' in the assembly.
 
Many of the files in the directory have been deleted from the assembly. These are the files I want to week out.

What I want to do is make a copy of every file represented by component names in my assembly navigator into a new directory on my computer. That way I won't have idea#5.prt cluttering things up anymore...
 
I understand now.
Perhaps ugzip will work? thread561-262977
thread561-274617

Or 2 clone operations (see Ben's response) in: thread561-126693
 
With one clone operation you can achieve what you want.
Note that the zip option in the above answer is a very good choice.

You must use the log file feature in the clone command. Create a log file edit it and then perform a clone with that edited file.

For example: Go to clone menu, check all as needed, then put a naming rule which add a weird prefix (kkkk_), then check dry run and fill the log file destination, execute (no clone is done).

Edit the log file created, replace all kkkk_ with nothing, change NAMING_RULE with USER_NAME in the header and delete the header line with the prefix.

Now is time to clone the assembly, use then the log file to create the clone.

The job is done.

Hope this helps.
 
if you clone the file's and add the suffix <space> it will clone without renaming the files
 
I got a "naming failure" when I tried the <space> suffix.

Modifying the clone log file did seem to work, however. Thanks!

I'm going to look at the UGzip too for educational purposes.

Thanks a million for everyone's help!
 
Used that clone with space in the suffix methoe twice just this week. In the first case there were some part families that it had issues with. I suppose you have to copy those part family template files over manually right? Does ugzipc have the same limitation?
 
I just tried this on an assembly and it seemed to work. First open the assembly and make sure all components are fully loaded. Then perform a "part cleanup" on "all loaded parts". Do a "save all". Go to the directory where the assembly is stored and sort the files by date modified. Delete or move all the files dated prior to the last save.

You should backup the directory just in case some files are modified by the part cleanup.
 
That last line should read:

You should backup the directory just in case some files are not modified by the part cleanup.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor