Question regarding changing user defined charts' time steps using a python result script.

Kev
Kev Member Posts: 41
10 Comments First Anniversary 5 Likes Name Dropper
**
edited June 2023 in Structures

Hi

I have a python result file that I am trying to get some custom result files evaluated in different time steps. for some reason I cannot find a method under a user plot object that would be similar to "Retrieve this result" as opposed to "Evaluate all results. In any case the application does not perform a "Evaluate all results" action. I think it is because the python result is also part of the results that needs to be evaluated (kind of a recursive action).

Would you guys know if there is a way around this? Can I have a python result file that updates results's time steps in a loop and in each iteration evaluate the plots? I have ansys 2022 r1 just FYI

Answers

  • Chris Harrold
    Chris Harrold Member, Administrator, Employee Posts: 183
    100 Comments 5 Answers First Anniversary Ansys Employee
    admin

    @Kev - your question has been sitting a while so I went in to nudge someone to take a look, but I am not sure what you are asking about as you have not tagged the post with anything! If you can edit it, and make sure you add a tag for the tool you are using, we will get someone over here for you!

  • Kev
    Kev Member Posts: 41
    10 Comments First Anniversary 5 Likes Name Dropper
    **

    Thanks Chris for following this up.

    I think this would concern the programming and scripting part of Ansys Mechanical. I will update the tags accordingly.

    Thanks again.

    I

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
    100 Answers 500 Comments 250 Likes First Anniversary
    ✭✭✭✭

    Hi @Kev ,

    I'm afraid I do not fully understand your question here. Are you using a Python Result object in Mechanical? Are you using an ACT extension to create a custom result? Can you provide more details (maybe with a screenshot or two) of what you're trying to achieve exactly?

    Thanks