Hi,
I want to have access to kinematic values of Mannequin file after I run the kinematic study. Actually, it is a static posture and I want to know all the Mannequin file angles of the posture.
I can find the values in the Model Tree, but I want to have an output file that has all these values together.
Besides, as I check Output file in the directory, it is empty and nothing seems to be there.
Have you defined a AnyOutputFile class to save the values you are interested in?
if not you can check out this tutorial or you can find the AnyOutputFile class example in the reference manual of the AMS. if you go to "Help" -> "AnyScript Manual" -> "Demo Examples" you can find a small example model of how to use it.
Hi Bjørn,
Thank you so much for your answer,
I will check the class you told, but I want to know is there any prepared piece of code that I can attach in this class to give me all of the Mannequin angles of the model? Or it's necessary to add all of the variables one by one?
Best regards,
Mohammad reza
You can use the built-in search function of the class.
It would look simething like this - you might need to change the path to the desired variable dependent on you model structure.
The search function accepts wildcards denoted as asterix so you can target more values in one go. The class example model i referenced also includes examples of this functionality.