Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Multiple user Windchill (cache conf.)

deddynp

New member
Dear all,

How to configure to run multiple users of Pro/ENGINEER in one computer / hardware while linked to Windchill??

and how to configure cache location of multiple user Windchill in one hardware?

Thks.
Rgrds.
Deddy

Pro/ENGINEER WF4.0 M080
Windchill PDMLink 9.1
 
Hi


1. Create a folder on the PC for each user underneath a top level folder eg c:\pro_users\fred, c:\pro_users\stan etc


2. Create a multiple option batch file so when the user runs the batch file it requests which user name they are and then according to the users reply input the batch file sets the system variables for the cache location and starts up PROE


Here is an example batch file that you can copy and paste


@ECHO OFF
CLS
:LOOP
ECHO WHO ARE YOU?
ECHO =====================
ECHO A. JOHN
ECHO =====================
ECHO B. FRED
ECHO =====================
ECHO C. SIMON
ECHO =====================
ECHO D. DAVE
ECHO =====================
ECHO Q. QUIT
ECHO =====================
:: SET /P prompts for input and sets the variable
:: to whatever the user types
SET Choice=
SET /P Choice=Type the letter and press Enter:
:: The syntax in the next line extracts the substring
:: starting at 0 (the beginning) and 1 character long
IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%
ECHO.
:: /I makes the IF comparison case-insensitive
IF /I '%Choice%'=='A' GOTO ItemA
IF /I '%Choice%'=='B' GOTO ItemB
IF /I '%Choice%'=='C' GOTO ItemC
IF /I '%Choice%'=='D' GOTO ItemD
IF /I '%Choice%'=='Q' GOTO End
ECHO "%Choice%" is not valid. Please try again.
ECHO.
GOTO Loop
:ItemA
@echo off
cls


REM SET THE ENVIRONMENT VARIABLES FOR THE LOCAL CACHE
set PTC_WF_ROOT=c:\pro_users\JOHN\.wf
set PTC_WF_CACHE=c:\pro_users\JOHN\local_cache



REM START PROE
c:\ptc\wildfire5\bin\proe.exe
GOTO End


:ItemB
@echo off
cls


REM SET THE ENVIRONMENT VARIABLES FOR THE LOCAL CACHE
set PTC_WF_ROOT=c:\pro_users\FRED\.wf
set PTC_WF_CACHE=c:\pro_users\FRED\local_cache



REM START PROE
c:\ptc\wildfire5\bin\proe.exe
GOTO End


:ItemC
@echo off
cls


REM SET THE ENVIRONMENT VARIABLES FOR THE LOCAL CACHE
set PTC_WF_ROOT=c:\pro_users\SIMON\.wf
set PTC_WF_CACHE=c:\pro_users\SIMON\local_cache



REM START PROE
c:\ptc\wildfire5\bin\proe.exe
GOTO End


:ItemD
@echo off
cls


REM SET THE ENVIRONMENT VARIABLES FOR THE LOCAL CACHE
set PTC_WF_ROOT=c:\pro_users\DAVE\.wf
set PTC_WF_CACHE=c:\pro_users\DAVE\local_cache



REM START PROE
c:\ptc\wildfire5\bin\proe.exe
GOTO End



:End
set choice=
EXIT
 

Sponsor

Articles From 3DCAD World

Back
Top