|
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 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 : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 12:46 Uhr (1)
Dear Bernd, Honestly i havent. Since i am using this option for the first time, there are some difficulties for me in achieving that. I thought i would generate a script where the parameters can be changed using string variable. Do you think manually changing and recording is more efficient? Or can i just redit the script you had provided in your fist reply? Thank you
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 12:49 Uhr (1)
If you see the model, under feature tree == arameters, i would want the LS OPT tool to vary the last four parameters. SO, the combination could be more than i could do manually. Hence i thought i would use the script where it does the job automatically. Best regards, Sam
|
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 : 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
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
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 |