Accessing available Methods & attributes #1124
Answered
by
dipinknair
skmechcoder
asked this question in
Q&A
-
Hello all, I'm working on ansys mechanical automation using Mechanical Scripting. I can sometimes use dir() in the shell window to get a given object's available methods or attributes, but it doesn't always help. How do you overcome this? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
dipinknair
Mar 20, 2025
Replies: 1 comment
-
@skmechcoder , Using the public API mentioned in the documentation is the best practice. While |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
skmechcoder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@skmechcoder , Using the public API mentioned in the documentation is the best practice. While
dir()
can list all available methods, some may be internal or unsupported, leading to unexpected behavior.