|
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 : 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 |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 31.03.2018 um 16:21 Uhr (1)
Dear Bernd, 1. Command line ["C:FK-ProgrammeDassault SystemesB24win_b64codeinCNEXT.exe" -batch -macro "E:DateiResultsOptimizationLS_OPT_resultsOptimization_model_1Macro_schweller_model_lsopt.CATScript"[ == result == a new stp file was created and saved in the directory but the CATIA interface was not opened (everything happened in the background". 2. ["C:FK-ProgrammeDassault SystemesB24win_b64codeinCNEXT.exe" -env CATIA.V5-R2014.B24 -batch -macro "E:DateiResultsOptimizationLS_OPT_resultsOptimization_mode ...
|
| 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
Sam2021 am 26.03.2018 um 13:08 Uhr (1)
1. I will record a macro and see how it works. 2. I would give the range in the LS OPt. Everytime it asks, lets say change the angle to some value, it would change in the script and generate the new geom. file (If i understood your question correctly)3. You mean the paramaters in the future tree? if yes, please see the attached file. Thank you Best regards, Sam [Diese Nachricht wurde von Sam2021 am 26. Mrz. 2018 editiert.]
|
| 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 21:54 Uhr (1)
Dear Bernd, Thank you very much for your reply. I start CATScript from the command line as follows "Directory where CNEXT.exe is located" -batch -macro "directory where the .CATScript is located" When its run from the windows command line, it works perfectly fine. However, I would want to add the function to the end of the script where it says "print normal termination". In reality while using with LS-Opt, it should work only when the .CATScript is able to say that the function has terminated normal ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 10:01 Uhr (5)
Dear everyone, Good morning. "Sincere apologies that i have made my request in English"I am trying to build a model for optimization on LS-OPT. hence i would like to use my parametric CATIA model and couple it with LS OPT using makro .CATVbs script using CNET.exe. Could someone please share some guidance as how its done? or please share some skript where i could get output as .stp file? the model is a simple side sill where parameters such as angle will be changed. I use CATIA v5. any help wll ...
|
| 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 : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 11:42 Uhr (1)
Dear Bernd,Thank you very much for the feedback. 1. CATIA release: v5-6 relaease 2014, Build day: 01-12-2014.20.002. In this attached CAT file, i would like to change the parameters as listed, "Amplitude, angle, Radius, wavelength" I will fix the upper and lower bound for those parameters in the LS-OPT GUI. So everytime the parameter gets changed, the LS OPT will request the CNET.exe ( if i am correct) to realise the changes in the model using .CATVBS script and give output as .stp file to Hypermesh. == It ...
|
| 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 : 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 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 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 |