|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 13:28 Uhr (1)
I tried and created a .catvbs file for the problem. Could you please take alook when you have time and let me know if its correct?Thank you
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 13:49 Uhr (1)
Hello, 1. Please ignore the previous email. it was sent before noticing your latest reply. 2. Now I have used your example script and built one for my problem. I kindly request you to take a look when you have time. thank you
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
bgrittmann am 26.03.2018 um 13:55 Uhr (1)
HiPlease try to understand the code and not only copy code snippets in one file.My code was written as .CATScript. (maybe you should also use CASTScript)Also have a look on the documentation (V5Automation.chm in the Catia install folder).Regards,Bernd------------------Warum einfach, wenn es auch kompliziert geht.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 14:36 Uhr (1)
okay. i will take a look into the manual and build the script further and get back to you. Thank you.Best regards,Sam
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 18:54 Uhr (1)
Dear Bernd, I read the manual and have created a script. I couldnt fix the syntax error which occurs while i try to run. COuld you please take a look into the script file when you have time and help me trouble shoot the issue? thank you
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 27.03.2018 um 08:15 Uhr (1)
Dear Bernd, Thank you very much. the code runs perfectly fine. In order to run .CATscript in batch, can i still use CNEXT.exe command? Thank you Bet regards, Sam
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
bgrittmann am 27.03.2018 um 16:44 Uhr (1)
Hi SamOpening Catia per command and execute a macro: see for example hereRegards,Bernd------------------Warum einfach, wenn es auch kompliziert geht.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 27.03.2018 um 18:51 Uhr (1)
Dear Bernd, Thank you very much for the response. I will take a look. Best regards,Sam
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 28.03.2018 um 08:15 Uhr (1)
Dear Bernd, is it still possible to convert the .CATscript to .vbscript? Thank you.
|
In das Form CATIA V5 Programmierung wechseln |
|
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
bgrittmann am 29.03.2018 um 14:49 Uhr (1)
HiTry Code:CATIA.DisplayFileAlerts = FalseRegards,Bernd------------------Warum einfach, wenn es auch kompliziert geht.
|
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 |