×
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

Relative Path

Relative Path

Relative Path

(OP)
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

RE: Relative Path

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

RE: Relative Path

Quote (lab2010)

...NX can't find the parts because they were located in folders on my computer.

The easy solution is to save the files in a common network drive location.

www.nxjournaling.com

RE: Relative Path

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)...
"ugdoc/html_files/nx_help/#uid:best_practices_bp_lrgassy_load_method" 

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) winky smile

HTH, Joe

RE: Relative Path

Talk about 2 extremes in cost, Joe!

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

Ben Loosli

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