can I have two load options
can I have two load options
(OP)
we have a standard setup for UG and the load_options.def file is on the network drive so it cannot be changed. I want to add an additional load_options.def file because of the projets that I work on. If I create and 2nd load_options.def file and save to my work/startup directory and start UG from there it doesn't load automatically. I see there is a set option in the Unigraphics startup batch on my desktop for SET UGII_LOAD_OPTIONS and points to the network drive where we get the standard load_options.def file. So why doesn't it load the 2nd load_options.def file when I start unigraphics ?
I thought if it was in the startup dir it would load automatically. I can open and load it manually. just trying to save a step....
I thought if it was in the startup dir it would load automatically. I can open and load it manually. just trying to save a step....





RE: can I have two load options
Specialty Engineered Automation (SEA)
http://www.sea4ug.com
a UGS Foundation Partner
RE: can I have two load options
RE: can I have two load options
Under load options there is an icon (towards the bottom) that says "save file" and another that says "open from file". I didn't try it but this may help you.
RE: can I have two load options
RE: can I have two load options
First jerry1423 has it correct about saving a file for your personal use and I would add that putting it in an specific location will help. You're likely to find however that while you can name several files fit for different options settings and place them in locations of your choice that you will have to manually go into File>Load Options, tick from file and then pick the one to restore from at least once per session. The system will default to one file in the default directory and named "load_options.def".
Two basic reasons to customise come to mind. The first is that different users may be working with their own personal user directories and drive mappings on a network. The second is that you could be working with different projects or subsets thereof where you tend to store groups of files in different places but it is inefficient to always search all of the storage volumes.
For the first you can create a simple solution that allows the system administrator a possibility of better control over how users operate. That is done by editing the ugii_env.dat file in the <install>/UGII directory. You'll be looking for the varaible "UGII_LOAD_OPTIONS=" and in NX-5 the section reads as follows below, noting that it contains a handy tip about directory naming which applies to all versions.
# This variable defines the ascii file that contains the load options settings.
# If it is not set, a file called load_options.def in the current directory
# is searched for instead. NOTE: If you set this to a file specification
# that contains spaces, you must enclose the file in quotes, e.g
# UGII_LOAD_OPTIONS="c:\my Data Files\load_options.def"
#
UGII_LOAD_OPTIONS=
In combination with the above try having each user map their local directory as the same drive path and then use equivalent drive mappings for network based project areas.
The other way to go is again you can set the default directory above to the user's home directory. Then save a bunch of load options files under several different names using either a different directory location or any name except "load_options.def". Then you can have a series of batch files that either copy and paste to overwrite the default filename "load_options.def" in its default location or vary the environmental variable setting by including a string per the example below. You would have the same batch file also launch NX to start a session with your desired load options for the project.
UGII_LOAD_OPTIONS="c:\my Data Files\my_load_options.def"
See how it goes for you
Cheers
Hudson
RE: can I have two load options
UGII_LOAD_OPTIONS="c:\my Data Files\load_options.def"
locally in
My Computer->MB3->Properties->Advanced->Environment Variables->User Variables
so that you don't have to have Administrative rights.
RE: can I have two load options
I think that "Bookmarks" can solve your problem. You can open faster your project/s than use saved load options.
Forgot about UGII_load_options if IT team set this in batch file or UGII_env.dat on shared folder.
Regards
Siwy
RE: can I have two load options
Prior to opening your file set the load option to "structure only" - there was a time (a version or two ago) when this was stated as "no components". The components will not get loaded and the file will open immediately:
File > assembly load options > (under scope) set to "structure only"
After your file is open set your Load Options to what you want.
Open up assembly all the way by going in your ANT and rmc the top level.