rem ----------------------------------------------------------------
rem This is a variable initialisation file for AVEVA Everything3D.
rem Two special variables can be used in the initialisation files -
rem AVEVA_ECHOFILE:
rem This is the file to which echoed lines are written. If the variable is not set
rem then a default file "everything3d_init.log" is created in the user's local
application
rem settings folder.
rem Note that command echoing is off by default.
rem AVEVA_SHORTPATHS:
rem If true then paths are converted to short path format in a set command. The
paths
rem must be absolute, not relative, and must exist. The default is false.
rem ----------------------------------------------------------------
rem Set the file for echoing to
rem set AVEVA_ECHOFILE=%temp%\everything3d_init.log
set AVEVA_PRODUCT=3D
rem ----------------------------------------------------------------
rem Set aveva_design_installed_dir to the folder that the application exe is
installed in.
rem This ia a dummy argument accessed by %0
rem ----------------------------------------------------------------
set aveva_design_installed_dir=%0\
rem ---------------------------------------------
rem Set evars for the product
rem ---------------------------------------------
if exist "%aveva_design_installed_dir%evars.init" call "%aveva_design_installed_dir
%evars.init"
rem For Autocad
set AVEVA_DESIGN_ACAD=2006
set ACAD_VERSION=%AVEVA_DESIGN_ACAD%
set AVEVA_DESIGN_ACAD_PATH=C:\program files\AutoCAD 2006;C:\Program Files\Common
Files\Autodesk Shared
echo AVEVA_DESIGN_ACAD=%AVEVA_DESIGN_ACAD%
echo acad_version=%acad_version%
echo AVEVA_DESIGN_ACAD_PATH=%AVEVA_DESIGN_ACAD_PATH%
rem ----------------------------------------------------------------
rem The following directories should contain the executables -
%AVEVA_DESIGN_ACAD_PATH%
rem Alternatively, edit this macro for your own setup.
rem ----------------------------------------------------------------
set path=%aveva_design_exe%autodraftACAD;%AVEVA_DESIGN_ACAD_PATH%;%path%
echo path set to %path%
rem ----------------------------------------------------------------
rem The following directory should contain AutoCAD-style fonts used
rem by Open Design Alliance libraries on machines not equipped with
rem AutoCAD.
rem ----------------------------------------------------------------
set acad=%aveva_design_exe%AutoDraftFonts
echo acad set to %acad%
rem Evar to workaround unwanted interaction of product launcher and PLOT input
set AVEVA_DESIGN_CONSOLE_WINDOW=ACTIVE
echo AVEVA_DESIGN_CONSOLE_WINDOW set to %AVEVA_DESIGN_CONSOLE_WINDOW%
rem ----------------------------------------------------------------
rem Setup Bocad Steel Interface
rem ----------------------------------------------------------------
set ABSIVER=
set AVEVA_SHORTPATHS=true
rem Define AVEVA Bocad Steel Interface main directory
set BOCWORK=%AVEVA_DESIGN_WORK%
if "%AVEVA_DESIGN_WORK%"=="" set BOCWORK=%PDMSWK%\
set BOCUSER=%AVEVA_DESIGN_USER%
if "%AVEVA_DESIGN_USER%"=="" set BOCUSER=%PDMSUSER%\
set BOCDFLTS=%AVEVA_DESIGN_DFLTS%
if "%AVEVA_DESIGN_DFLTS%"=="" set BOCDFLTS=%PDMSDFLTS%\
set BOCEXE=%BOCMAIN%
set BOCBLOCKMAPS=%AVEVA_DESIGN_DFLTS%BlockMaps\
set BOCDATA=%AVEVA_DESIGN_DFLTS%bocad\
rem Add AVEVA Bocad Steel Interface macros to PML search path
set PMLLIB=%PMLLIB%;%BOCDATA%
set BOCDFLTS=%BOCDATA%dflts\;%BOCDFLTS%
rem To get the old file browser form
set BOCUI=%PMLUI%
if "%AVEVA_DESIGN_DFLTS%"=="" set BOCUI=%PDMSUI%
set AVEVA_SHORTPATHS=false
rem ----------------------------------------------------------------
set compatibility_batfile=%aveva_design_installed_dir%set_aveva_design.bat
set aveva_design_exe=%aveva_design_exe%;
set aveva_design_installed_dir=%aveva_design_installed_dir%;
echo aveva_design_exe set to %aveva_design_exe%
echo aveva_design_installed_dir=%aveva_design_installed_dir%
call "%compatibility_batfile%"