CATUtil 3DExperience

Jeffrey Roark

CATUtil 3DExperience

CATUtil 3DExperience:

I would like to launch CATUtil via command line.  According to the documentation:

CATUTIL -Name GenericBatch my_parameters.xml

My issue is authentication, I have included the user name and password in the xml file, but the login panel is popping up for the user to enter their User Name and Password.  

The batch process does need the 3DExperience process as it is opening a part and creating some geometry in CATIA.

I want avoid the user login panel by including the user name and password in the xml file.

Kevin Arnold

RE: CATUtil 3DExperience
(in response to Jeffrey Roark)

Hey Jeff,

 

See my Video for automating that.

It shows how to autmate the importing of IGES, 3DXML, STEP or DXF files intoo 3DExperience

Kevin Arnold

RE: CATUtil 3DExperience
(in response to Kevin Arnold)

When I add the User name and password to my .XML file, it does not ask me for any credentials, it does import of the IGES file. Without 3DExperience running in the background.

Edited By:
Kevin Arnold[Organization Members] @ Aug 26, 2021 - 08:19 AM (America/Eastern)

Jeffrey Roark

RE: CATUtil 3DExperience
(in response to Kevin Arnold)

Thanks for sharing Kevin.  Your solution looks great!!!  My original post is for the generic Batch.  Authentication is not built-in to the xml as it is with export/import.  But, I have been working on some similar import/export utilities.  The use case I have is for people who do not have CATIA.  They will initiate the process from ENOVIA.  The batch jobs will run on a remote server.  We are setting it up for pdf exports as well.  Thanks for sharing.

Edited By:
Jeffrey Roark[Dassault Systemes.] @ Aug 27, 2021 - 05:07 AM (Asia/Singapore)

Quan PHAM

RE: CATUtil 3DExperience
(in response to Jeffrey Roark)

Hello Jeffrey, sorry for digging up an old topic. I'm currently running into the same problem launching a batch job using a VBA macro: the authentication window pops up if I run the batch with macro form 3DX's VBA but when I execute the .bat file directly from the local machine it works fine without asking me to login.

I wonder if you were able to solve your problem and would have any suggestion?

Thank you and have a nice day :)