×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Batch transformation in V4.2.2

Batch transformation in V4.2.2

Batch transformation in V4.2.2

(OP)
Is it possible to apply a stored "move" translation to a bunch of V4 models in batch mode. Our customer would like us to transform a whole series of models to a different coordinate system and doing it manually is not an option. Any ideas?

RE: Batch transformation in V4.2.2

Hello,

you have to write a little CATGEO program to do your  task.

Regards
Stefan

RE: Batch transformation in V4.2.2

(OP)
What language is CATGEO written in. I'm actually not a CATIA programmer although I dabble in VB and php but CATIA is done using FORTRAN isn't it? Do you have any example code?

RE: Batch transformation in V4.2.2

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

RE: Batch transformation in V4.2.2

(OP)
Can IUA be run in batch mode?

RE: Batch transformation in V4.2.2

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

RE: Batch transformation in V4.2.2

(OP)
I checked at work today and our small IT department has no expertise in writing CATGEO routines.  I found one of the CATIA manuals but it was just a list of all of the available commands but didn't explain what the input variables meant or any type of syntax.Can you recommend any books on the subject. I may have to take matters into my own hands.

RE: Batch transformation in V4.2.2

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  IZURUE,MNUM,IER
      CHARACTER*8  MODDDN,MEMBER,CPASS

C  DAS IST EIN CATGEO PROGRAMM
      CALL CATGEO
      CALL GLOGON (PROJ,GROUP,USER,ACCT,CPASS,IER,*999)

C----------------------------------------
      CALL GIFALL (MEMBER,MODDDN,DISP,ICATI,IER,*999)
      CALL GIMSIZ (MODDDN,EIN80,LINDEX,LDATA,IER,*999)
      LINDEX = LINDEX + 100
      LDATA  = LDATA  + 300
      CALL GIMREA (MNUM,MODDDN,EIN80,LINDEX,LDATA,IER,*999)
      CALL  MSGMO (IZURUE)
      CALL GUSEND (INULL,IER,*999)
      CALL GIFRES (MODDDN,IER,*999)
      GOTO 1000

999   CONTINUE
      WRITE (6,*) 'FEHLER IN msgmain'
      CALL GILERR (IER)

1000  CONTINUE
      END

The source name have to be in CAPITAL letters (XXX.f) in the directory were the load module should be. Compile in AIX with:
xlf -c -O XXX.f
IRIX: f77 -c -Wf,-noappend XXX.f

Here the sample of a link script:

catgeo -p msgmain.o \
          msgmo.o \
          csystem.o \
       -o /home/prog/v4load/msgmain
     

Good luck
Stefan

RE: Batch transformation in V4.2.2

(OP)
Thanks for your help.

RE: Batch transformation in V4.2.2

Did you ever resolve this CATGEO programming issue?  This type of program is pretty stright forward.

RE: Batch transformation in V4.2.2

(OP)
You wouldn't happen to be Clyde Norman would you? If so, the answer to your question is yes because I had you write the routine for me.

RE: Batch transformation in V4.2.2

That's me.  I found this site from a Yahoo search on CATGEO.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close