In Ansys Mechanical scripting, is it possible to determine what objects types are "valid" in a specified analysis/environment type?
Through the Analysis object API, you can add any load/support, but that doesn't necessarily mean it's valid. For example, you can add a pressure object to a Modal analysis, but you won't be able to set the geometry location.
This mapping exists somewhere as the UI elements for a selected analysis change depending on the type.
For example, I've added a Pressure to a Modal through scripting, but this isn't possible through the UI.

Is it possible to check what is "valid" (according to the UI) in scripting?