Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
When using ProEngineer, we could specify which license's a client would pull at the setup of ProE. With Creo 2.0, this is not an option. How do we set it so a user is the only user who gets the flex3c license?
Solved! Go to Solution.
Hi,
you can also manualy edit psf files located in Creo2_LOADPOINT\Creo 2.0\Parametric\bin directory. I use this method to edit red lines
// PTC - PSF file: parametric
//
PRODUCT=Creo Parametric
DESC=my_description
SHIPCODE=M070
CREO_COMMON_FILES=Common Files\M070
//
ENV=MECH_LP=%PRO_DIRECTORY%\mech
ENV=MECH_HOME=%MECH_LP%\%PRO_MACHINE_TYPE%
ENV=PRO_MECH_COMMAND="%CREOAPP_DIRECTORY%\bin\parametric.exe" "%CREOAPP_DIRECTORY%\bin\parametric.psf"
ENV=RPC_TIMEOUT=31536000
ENV=MEDI_HOME=%MECH_HOME%
ENV=PATH+=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\deflib
ENV=PATH-=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\lib
ENV=PATH-=%INTRALINK_DIR%\%PRO_MACHINE_TYPE%\illib
ENV=PATH+=%PRO_DIRECTORY%\libs\dfor\lib
ENV=NMSD_TIMEOUT=300
ENV=PRO_COMM_MSG_EXE=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\pro_comm_msg.exe
ENV=PROE_START=%CREOAPP_DIRECTORY%\bin\parametric.exe
ENV=CDRS_DATA=%PRO_DIRECTORY%
ENV=PRO_IMAGE_CONVERTER=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\convert_image.exe
ENV=PROGUIDE_DIRECTORY=%PRO_DIRECTORY%\uifdoc
ENV=SPG_DIRECTORY=%PRO_DIRECTORY%
ENV=PRO_USRMAIN=%PRO_DIRECTORY%\usrprog\umain\usrmain.c
ENV=PROTABLE_DIRECTORY=%PRO_DIRECTORY%\protable
ENV=MOZILLA_FIVE_HOME=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\MOZILLA
ENV=PROTAB=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\protab.exe
ENV=ZIP_EXEC=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\zip.exe
ENV=CLHOME=%PRO_DIRECTORY%\text\pcldata
ENV=PVIEW_PROEPVIEW_HOME=%PRO_DIRECTORY%\apps\prodview
ENV=CV_ENV_HOME=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\CV140
ENV=DEBUG_HLP_DLL_PATH=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\lib\dbghelp.dll
ENV=PTC_D_LICENSE_FILE-=7788@myserver
ENV=CREO_APP=PMA
ENV=CREOPMA_FEATURE_NAME=PROE_Flex3C ()
RUN="%MECH_LP%\install\nt\pro_mech_env.bat"
RUN="%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\nms\nmsd.exe" -noservice -timeout %NMSD_TIMEOUT% &
RUN="%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\xtop.exe"
// USER - PSF
// Add User specific environment or run applications below here
ENV=DBG_NCPOST_PATH=%CREOAPP_DIRECTORY%\bin
Martin Hanak
I think you would like to set the sequence of license in use, if this is correct, reconfigure Creo 2.0 using reconfigure.exe (<Install Location>\parametric\bin), Next > Next > Customize > Command configuration > Edit, here move the license up or down to define sequence.
Hi,
you can also manualy edit psf files located in Creo2_LOADPOINT\Creo 2.0\Parametric\bin directory. I use this method to edit red lines
// PTC - PSF file: parametric
//
PRODUCT=Creo Parametric
DESC=my_description
SHIPCODE=M070
CREO_COMMON_FILES=Common Files\M070
//
ENV=MECH_LP=%PRO_DIRECTORY%\mech
ENV=MECH_HOME=%MECH_LP%\%PRO_MACHINE_TYPE%
ENV=PRO_MECH_COMMAND="%CREOAPP_DIRECTORY%\bin\parametric.exe" "%CREOAPP_DIRECTORY%\bin\parametric.psf"
ENV=RPC_TIMEOUT=31536000
ENV=MEDI_HOME=%MECH_HOME%
ENV=PATH+=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\deflib
ENV=PATH-=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\lib
ENV=PATH-=%INTRALINK_DIR%\%PRO_MACHINE_TYPE%\illib
ENV=PATH+=%PRO_DIRECTORY%\libs\dfor\lib
ENV=NMSD_TIMEOUT=300
ENV=PRO_COMM_MSG_EXE=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\pro_comm_msg.exe
ENV=PROE_START=%CREOAPP_DIRECTORY%\bin\parametric.exe
ENV=CDRS_DATA=%PRO_DIRECTORY%
ENV=PRO_IMAGE_CONVERTER=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\convert_image.exe
ENV=PROGUIDE_DIRECTORY=%PRO_DIRECTORY%\uifdoc
ENV=SPG_DIRECTORY=%PRO_DIRECTORY%
ENV=PRO_USRMAIN=%PRO_DIRECTORY%\usrprog\umain\usrmain.c
ENV=PROTABLE_DIRECTORY=%PRO_DIRECTORY%\protable
ENV=MOZILLA_FIVE_HOME=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\MOZILLA
ENV=PROTAB=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\protab.exe
ENV=ZIP_EXEC=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\zip.exe
ENV=CLHOME=%PRO_DIRECTORY%\text\pcldata
ENV=PVIEW_PROEPVIEW_HOME=%PRO_DIRECTORY%\apps\prodview
ENV=CV_ENV_HOME=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\CV140
ENV=DEBUG_HLP_DLL_PATH=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\lib\dbghelp.dll
ENV=PTC_D_LICENSE_FILE-=7788@myserver
ENV=CREO_APP=PMA
ENV=CREOPMA_FEATURE_NAME=PROE_Flex3C ()
RUN="%MECH_LP%\install\nt\pro_mech_env.bat"
RUN="%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\nms\nmsd.exe" -noservice -timeout %NMSD_TIMEOUT% &
RUN="%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\xtop.exe"
// USER - PSF
// Add User specific environment or run applications below here
ENV=DBG_NCPOST_PATH=%CREOAPP_DIRECTORY%\bin
Martin Hanak
Thanks MartinHanak! Mahesh Sharma's response would have worked as well, but your option allowed me to make the change and copy the file to all the pc's. Therefore, I did not have to visit every pc and run the reconfigure.exe. Mission accomplished a lot quicker.