Community Tip - You can change your system assigned username to something more personal in your community settings. X
how to define my vars similar to the PRO_DIRECTORY,like MY_DEMO?
Solved! Go to Solution.
Hi,
to define requested variable, add following line at the end of psf file.
ENV=CONFIG_PATH=D:\DEMO
Then your config.pro can contain following lines
template_solidpart %CONFIG_PATH%\startup\iso_solidpart_default.prt
-OR-
template_solidpart $CONFIG_PATH\startup\iso_solidpart_default.prt
MH
Hi,
please describe what do you want to achieve. I do not understand why you are pointing into psf file.
MH
i want to define some enviroment vars to define the path for the config.pro,so that i can put the config.pro everywhere,
for example,i define the system enviroment vars CONFIG_PATH D:\DEMO
and i modify the config.pro like this:
template_solidpart %CONFIG_PATH%\startup\iso_solidpart_default.prt
Hi,
to define requested variable, add following line at the end of psf file.
ENV=CONFIG_PATH=D:\DEMO
Then your config.pro can contain following lines
template_solidpart %CONFIG_PATH%\startup\iso_solidpart_default.prt
-OR-
template_solidpart $CONFIG_PATH\startup\iso_solidpart_default.prt
MH
i had tried,but it didn't work
Why does the template name start with "g_"
That is not the name you used earlier.
i used the file as a test
Hi,
did you modify psf file ?
MH
yeah,i had modified the psf files
Hi,
please show me the contents of psf file. I will check it.
What Creo do you use ? Is it CR3 M060 ?
MH
Sorry,i copied the template i want to used ,but i forgot to add a flag,
ENV=$CONFIG_PATH
Right!
TK,MH
My Creo is Creo3.0 M060
You can define your own environment settings in the proe.bat file or call your own file from a modified proe.bat file.
The PSF file should not be changed.
can you give me a demo for how to modify the bat files?i used the creo3,i can't find the proe.bat files
Hi,
look for parametric.bat file.
MH
I travel the world teaching Creo classes and I've noticed one thing that 99 percent of companies do incorrectly and that is to push inapropriagte config.pro settings upon their entire staff. I can tell exactly how old a Sysop is by looking at their config.com LOL No offense. 30 percent of the time I see old fail mode set w/ Creo 3.0 workgroups. I could make a list I suppose.
Bart Brejcha