|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 29.03.2018 um 14:40 Uhr (1)
Dear Bernd, I ran the script using command line. The script run fine but it asks for my approval to overwrite the existing stp file. Is it possible to include a syntax where it knows it can overwrite the existing .stp file every time there was a change in the macro? thankyou
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 29.03.2018 um 15:37 Uhr (1)
Dear Bernd, It works perfectly fine. Thank you. Just one more doubt. If i want to use python to execute the script, is it possioble? i looked up online and there was some sugeestions. I tried but i get this error. So i checked this error, they say the python version was 64. i checked it is 32. yet the error reappears. COuld you please help me fix this if its possible?Thank you best regards, Sam
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 31.03.2018 um 14:44 Uhr (1)
Dear Bernd, About the .CATscript, it only works when i go to command line "CNEXT.exe directory" -macro"scriptdirectory". so if i double click the macros script file while CATIA interface is closed, the CATIA userinterface opens up and just blank (i.e. it wont run the model"). Should i include any command to the macro script wherein it says run it in batchmode? Thank you very much and looking forward to hear from you.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 31.03.2018 um 19:47 Uhr (1)
Dear Bernd, Am i supposed to include anything such as "execute" in the beginning of .CATScript file in order for the CATIA application to start automatically when the .CATSCript is executed? Thank you very much.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : How to add syntax Normal Termination to the existing .CATScript?
Sam2021 am 14.04.2018 um 08:45 Uhr (1)
Hello all, I would like to run a parametric CATIA model using .CATScript. It will then be coupled with LS-OPT. So in order to comply with the LS-Opt specification, the script for CATIA (here .CATScript) is supposed to have a syntax "normal termination" which would mean after running the script every time, it should print "normal termination". Could someone please help me how to add this function to the existing .CATScript? Thank you very much.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : How to add syntax Normal Termination to the existing .CATScript?
Sam2021 am 15.04.2018 um 17:39 Uhr (1)
Dear Bernd, 1. I only want start it from the command line since thats the only way to use CATIA as user defined solver with LS-OPt. In LS-Opt, basically there are two locations. One is for the command line and the other is for input file. I approached this by giving the directory of CNEXT.exe in the command line so (per ls opt manual), its for any executable to start a solver. then in the input file space, i added a file called "CATIA.bat" which consists of Code:-batch -macro "directory of the .CATScript". ...
|
In das Form CATIA V5 Programmierung wechseln |