Hello,
here is my v5_admin start script for AIX perhaps you can use it:
export CNEXTOUTPUT=CONSOLE
export CNEXTSPLASHSCREEN=NO
export CNEXTBACKGROUND=NO
export CATNoStartDocument=YES
cd /usr/DassaultSystemes/B12/aix_a/code/bin
CNEXT -env /home/catocw/v5/CATEnv/CATIA.V5R12.B12 -admin
Regards...
Hello,
the most important document is the:
Apllication Programming Interface Manual catap sh52-0631
Here a typical (not complete) fortran source:
PROGRAM MSGMAIN
C-------------------------------------------------
IMPLICIT NONE
INTEGER*4...
Hello,
no, CATIA has to be up. but I think, this is more an organisational question. You can run your IUA over night.
If you want to run it really in batch mode, you have to write a CATGEO program in FORTRAN or C, compile it and link it with the catgeo linker.
Regards
Stefan
Hello,
when you don't know FORTRAN and speed isn't important, you can use IUA which is a interpreted language with many samples in the directory $CATIA/code/iua.
Regards
Stefan
Hello,
if your plotter understands PS try out this parameter section in your plt_cfg file. The MAP parameters refer to an A4 in this example.
Regards
Stefan
*BEGIN_PARAM
/ --------------PLOTTING KEYWORDS (REFER TO CATPUB REFERENCE MANUAL)
*EXPORT POSTSCRIPT
/ MAPPING --> MARGIN 5 MILLIMETERS...
Hello gontxal,
my installation is:
xlfcmp 5.1.1.0 C XL Fortran Compiler
xlC.cpp 4.3.0.1 C C for AIX Preprocessor
perhaps you can try this combination, if available. It is on the CD:
RS/6000 Operating Environment for CATIA
Version 2.2
I think that is my last idea.
Good luck...
Hello gontxal,
my fault:
shared -p mysub1.o mysub2.o csystem.o -o /prog/v4load/myiua -a /usr/lib/libC.a
use a backslash after myiua.
By the way, which version of Fortran and C do you use ?
Sorry and regards
Stefan
Hello Jim,
the routine you are looking for is:
LOAD GIRIDE MNUM,JADF,NIDEN,LIDEN,IER
******
JADF: POINTER TO WSP
NIDEN: LENGHT OF IDENTIFIER (MAX 16)
LIDEN: IDENTIFIER (CHAR*16 LIDEN)
REGARDS
Stefan
Hello gontxal,
you have listed all subroutines in your link script ? Perhaps you have code in C where you have to add the apropriate Library ?
shared -p mysub1.o mysub2.o csystem.o -o /prog/v4load/myiua
-a /usr/lib/libC.a
Regards
Stefan
Hello gontxal,
you need for the linking a C-compiler. The standard IBM C-compiler needs a license and is in the directory:
/usr/ibmcxx/bin
You have to add this directory to your path.
If you want to use a GNU C-compiler you have to try. I have no experience with it.
Good luck !
Best regards...
Hello,
For Draw Dittos:
GIRDDI to get the detail workspace
GIREXT to check if it is external
For Space Dittos:
GIRWDI to get the detail workspace
GIREXT to check if it is external
Regards
Stefan
Hello,
you have to pass your geometrical argument as an integer.
IUA:
PTD JPTD1
LOAD XXX JTPD1
FORTRAN:
SUBROUTINE XXX (JPTD1)
INTEGER*4 JPTD1
Regards
Stefan