POGI,
you are faithful, and I shall also be, I am pinning a note to my shirt tonight so as not to forget to take care of your question first thing at work tomorrow, I sincerely apologize for letting this slip so long.
Doesn't anyone else out there have an answer for POGI on upgrading project, you people disgust me!!!
TURN THIS TEXT INTO A BAT FILE AND PUT IT IN YOUR PDMSUPGRADE DIR FOR THE VERSION YOU ARE GOING TO. YOU WILL HAVE TO CHANGE THE EVARS TO THE PROJECT YOU ARE WORKING ON. GOOD LUCK AND LET ME KNOW HOW IT GOES...
set PDMSWK=c:\TEMP
set CADC11HOME=c:\AVEVA
set UPGRADE=x:\PDMSWORLD\new-proj-loc\PDMS_DBS
SET PDM000=X:\PDMSWORLD\old-proj-loc\PDMS_DBS\pdm000
SET PDMISO=X:\PDMSWORLD\old-proj-loc\PDMS_DBS\pdmiso
SET PDMMAC=X:\PDMSWORLD\old-proj-loc\PDMS_DBS\pdmmac
SET PDMPIC=X:\PDMSWORLD\old-proj-loc\PDMS_DBS\pdmpic
set PDMSEXE=%CADC11HOME%\pdms11.5.SP1
set PDMSUI=%CADC11HOME%\pdms11.5.SP1\PDMSUI
set PDMS11EXE=%CADC11HOME%\pdms11.5.SP1
set PDMS11UI=%PDMS11EXE%\PDMSUI
set PDMS115UPG=%CADC11HOME%\pdms11.5upgrade
set PERL5LIB=%CADC11HOME%\pdms11.5upgrade\perl\lib
set PMLLIB=%PDMS11EXE%\PMLLIB
2. adding project variables to both pdms.bat & make.bat
3. run Make PDMS Project .....
--- after i run this the msdos command window did not appear..
========
make.bat
@echo off
set TAD000=G:\PDMS11.5\project\TAD000
set TADMAC=G:\PDMS11.5\project\TADMAC
set TADISO=G:\PDMS11.5\project\TADISO
set TADPIC=G:\PDMS11.5\project\TADPIC
Rem Enter PDMSMAKE, optionally setting environment variables if required
Rem Arg 1: Pathname of PDMS11.5 directory (optional)
setlocal
SET pdms_installed_dir=D:\AVEVA\Pdms11.5\
rem Set evars for PDMS
call %pdms_installed_dir%\evars %pdms_installed_dir%
:run
if exist %pdmsexe%\make.exe goto foundexe
echo Can not find %pdmsexe%\make.exe - giving up
goto wait
:foundexe
if exist %pdmsexe%\message.dat goto foundmes
echo Can not find %pdmsexe%\message.dat - giving up
goto wait
:foundmes
if exist %pdmsexe%\makemac.mac goto foundmac
echo Can not find %pdmsexe%\makemac.mac - giving up
goto wait
:foundmac
%PDMSEXE%\make
:wait
Rem So that can see errors ...
pause
endlocal
========
pdms.bat
@echo off
set TAD000=G:\PDMS11.5\project\TAD000
set TADMAC=G:\PDMS11.5\project\TADMAC
set TADISO=G:\PDMS11.5\project\TADISO
set TADPIC=G:\PDMS11.5\project\TADPIC
rem Start up PDMS Dev, allowing for PDMSEXE being a search path, and
rem some arguments to pass into monitor
setlocal
rem set pdms_path=%1
SET pdms_installed_dir=D:\AVEVA\Pdms11.5\
rem Set evars for PDMS
call %pdms_installed_dir%\evars %pdms_installed_dir%
set savepath=%path%
if not "%PDMS_ACAD%"=="" goto acaddone
set acad_version=%PDMS_ACAD%
rem echo %path%
:acaddone
:run
rem Reverse order of PDMSEXE so we find the earliest one first
set reversed=
for %%x in ( %PDMSEXE% ) do call pdms_reverse %%x
rem Find mon.exe
set found=
for %%x in ( %reversed% ) do call pdms_findexe %%x mon.exe
if "%found%"=="" goto nomon
set monexe=%found%
rem If we have no arguments, add 'graphics' so that monitor doesn't
rem think we are coming from a module-switch
set args=%1 %2 %3 %4 %5 %6
if "%1"=="" set args=graphics
rem For Autocad 2000i and 2002
set PDMS_ACAD=2000i
set ACAD_VERSION=%PDMS_ACAD%
set PDMS_ACAD_PATH=C:\program files\AutoCAD 2000i;C:\Program Files\Common Files\Autodesk Shared
rem The following directories should contain the executables - %PDMS_ACAD_PATH%
rem Alternatively, edit this macro for your own setup.
set path=%PDMSEXE%\autodraftACAD;%PDMS_ACAD_PATH%;%path%
rem Evar to workaround unwanted interaction of PDMS launcher and PLOT input;
set PDMS_CONSOLE_WINDOW=ACTIVE
rem We have found mon.exe somewhere, so start it up
rem with any arguments the user passed us
echo running: %monexe%\mon %args%
cmd/c %monexe%\mon %args%
goto end
:nomon
echo Sorry, cannot find mon.exe within your PDMSEXE - %PDMSEXE%
goto end
How about 11.2 to 11.5 or 11.2 to 11.6? We have projects that we cannot open in the 11.5 because we are using 11.2 before.
Can you give some advise or it needs now an upgrade?
Plssssplssssplsssssplsssss
By coincidence I found a very easy way to upgrade projects from 11.2/11.3 to 11.5/11.6.
Just delete the virgin databases in the old project, and set project variables for 11.5/11.6 to point to the project.
When you enter admin module for the first time you will get an error message, but there you just write the command SYSTEMUPGRADE in the command line window, and the upgrade is finished.
Take a backup of the project before you do this, because there is no way back once you've done it.
[QUOTE=rxk]I need help in creating new project in PDMS 11.5.
Step in creating my new project TAD:
1. creating project directories
2. adding project variables to both pdms.bat & make.bat
3. run Make PDMS Project .....
--- after i run this the msdos command window did not appear..
Did you open/save the make.bat file with Notepad?
At least I have had the experience that Notepad messes up the bat files when I edit them. They are many times saved in Unix format, and Notepad do not understand the line breaks when it should save the file.