Provide the location of the environment file to be used in the variable:
ENV_FILE_LOCATION
Ensure that you do not enter any extra spaces at the end of each line.
The SHELL file is supported for CATIA V5 on the following UNIX systems:
- CATIA V5 on Solaris
- CATIA V5 on hpux
- CATIA V5 32bits on AIX
A sample mxlaunchCATIAV5_Sample.sh supported for solaris, hpux and aix is,
#!/usr/bin/ksh
CATIA_INSTALL_DIR=/usr/DassaultSystemes/B18
ENV_FILE_NAME= CATIA.V5R18.B18
ENV_FILE_LOCATION=/CATEnv
@REM Please do not edit below this line
case `uname` in
AIX)
OSDS="aix_a"
;;
HP-UX)
OSDS="hpux_b"
;;
SunOS)
OSDS="solaris_a"
;;
esac
if [ $2 = '"-action:connect"' ];then
"$CATIA_INSTALL_DIR/$OSDS/code/command/catstart" -run "CNEXT -e
V6CATIAConnectHdr" -env "$ENV_FILE_NAME" -direnv "$ENV_FILE_LOCATION"
&
fi
if [ $2 = '"-action:checkout"' ];then
"$CATIA_INSTALL_DIR/$OSDS/code/command/catstart" -run "CNEXT -e
V6CATIASilentCheckoutCmdHdr" -env "$ENV_FILE_NAME" -direnv
"$ENV_FILE_LOCATION" &
fi
echo returned
The SHELL file supported for CATIA V5 on 64bit AIX system:
A sample mxlaunchCATIAV5_Sample.sh supported for aix_a64 is
#!/usr/bin/ksh
CATIA_INSTALL_DIR=/usr/DassaultSystemes/B18
ENV_FILE_NAME= CATIA.V5R18.B18
ENV_FILE_LOCATION=/CATEnv
@REM Please do not edit below this line
if [ $2 = '"-action:connect"' ];then
"$CATIA_INSTALL_DIR/aix_a64/code/command/catstart" -run "CNEXT -e
V6CATIAConnectHdr" -env "$ENV_FILE_NAME" -direnv "$ENV_FILE_LOCATION"
&
fi
if [ $2 = '"-action:checkout"' ];then
"$CATIA_INSTALL_DIR/aix_a64/code/command/catstart" -run "CNEXT -e
V6CATIASilentCheckoutCmdHdr" -env "$ENV_FILE_NAME" -direnv
"$ENV_FILE_LOCATION" &
fi
echo returned