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!

Relative Path

Status
Not open for further replies.

lab2010

Aerospace
Mar 21, 2014
43
I am building several assemblies in a working directory on my machine. Each time I open NX, I can use the "As Saved" option in assembly load options to get everything properly loaded. However when coworkers needs to load the assemblies on their machines, NX can't find the parts because they were located in folders on my computer. They have to add the proper search folders, which can be cumbersome (even when using the Folder\... to search subfolders). Is it possible to save the assemblies where the load option "As Saved" will use relative paths instead of absolute? Then when an assembly is loaded, it just goes to the proper folder every time?

On a similar note, is it possible to customize search folders with the assembly .prt file? Say I hypothetically have Assembly_1 which uses 5 search folders. I can set those search folders in the Assembly load options. Now each assembly I load in the current session will look in those folders. That works great as long as my assemblies use those folders. But say Assembly_2 uses different folders (and maybe files have similar names where I don't want to use the those original 5 search folders). I have to change the search folders. Since the options are for loading assemblies, it would be great if that information could just be saved with the file. The assembly file can remember "As Saved" locations, so maybe it can do search folders?

Thanks
 
Replies continue below

Recommended for you

Instead of the "As Saved" setting, in your case it may be best to use the "Search Folders" setting, and set each user appropriately.
 
Lab2010,

Search the NX docs for "ug_search_dirs.dat". It may be just what you are looking for (a list of relative paths to search). See (help location)... [pre]"ugdoc/html_files/nx_help/#uid:best_practices_bp_lrgassy_load_method"[/pre]

However, as Cowski suggested, this can be easily addressed by (everyone) using a shared network location and either unc notation or the same drive letter mapping.

If you must keep some of the files local to your computer (but in a shared directory so that others can also access your files), consider using the "subst" command to assign a drive letter to that shared directory where that drive letter is the same letter that the other users will use to map your shared directory. When you Open, Add Component(s), Save, Save-as, Clone, or Make-unique, use the drive letter from the "Subst" instead of the local path. Then the As-saved information will use that drive letter for the location of the components (which will be mapped to your shared directory) when the other user opens the assembly.

(or use Teamcenter) ;-)

HTH, Joe
 
Talk about 2 extremes in cost, Joe!


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

Ben Loosli
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor