Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.
I'd like to know if there is a way to load a config.pro on startupwhen it is not in the current directory nor in proepath/text or standard loading points.
Try creatinga trail file that loads the desired config.pro file. Run Pro/ENGINEER from the command line, passing it the trail file to execute. If you have set the system environment variable "CONTINUE_FROM_OOS" = 1, Pro/ENGINEER will not exit when it comes to the end of the trail file.
J-Link can execute mapkeys. Thus, you could create a mapkey and use a J-Link application to start execute the mapkey on startup. The drawback is the use of mapkeys. That isn't much better than trail files. I'mdon't know if J-Link has a "read config.pro file" function.
Before Startup:
You could change the startup working directory before starting Pro/ENGINEER. Or you could use a separate batch file to copy the desired config.pro into the startup working directory beforestarting Pro/ENGINEER.
We use a batch file that works very well. I have attached a copy of the batch file, but without our file locations. You can point to where they are within your company. Right click on the file and "Edit". Change locations of files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.