I programmed a python code which ask for a range of parameters to create a cmd file that "produces" somekind of a skateboard with a handle. I want the board to be flexible so I was hoping to "just add" "part create flexible_body..." Problem here is that I can't write the necessary *.mnf-file. So I tried recording a macro and replacing parts with variables as I did before to write the other parts of the model.
But when I try to replay that recorded macro it won't set the material to wood instead of steel and it won't set the element type to shell instead of solid. Eventhough I did theses changes while recording the macro.
I don't have enough insight into the commands within the macro file, so I am not able to "just sort it out" and find the proper lines within these 10000 lines of code.
I'd be very thankful if anyone of you has an idea or even solution to my problem!
Thanks a lot and let me know if you need more information!!
Normally you would build a parameterized model in View and create a dialog box where the user can change the parameters instead of recreating the model each time you need to change a parameter.
You don't use HEEDS to build a model, you use it to optimize a model. So it was just an example on how you normally would use a cmd-file.
So if you don't want to have a model in View to work with, keep trying to adjust your 10000 line Python code until it works. I thought that was your underlying problem.
But if you want any help, at least post the part of the cmd-file that gives you problems.
And if you don't want to use View, why don't you then build the adm-file directly from the Python code? That was how we used to do it pre 1991 when ADAMS/View didn't exist.
Normally you would build a parameterized model in View and create a dialog box where the user can change the parameters instead of recreating the model each time you need to change a parameter.
You don't use HEEDS to build a model, you use it to optimize a model. So it was just an example on how you normally would use a cmd-file.
So if you don't want to have a model in View to work with, keep trying to adjust your 10000 line Python code until it works. I thought that was your underlying problem.
But if you want any help, at least post the part of the cmd-file that gives you problems.
And if you don't want to use View, why don't you then build the adm-file directly from the Python code? That was how we used to do it pre 1991 when ADAMS/View didn't exist.