Best Of
-
Re: Example of dummy post object
Below is an example of a post object that when evaluated will change the value in the details view from 0 to 15. * The xml file is: <extension version="1" name="PostObject">…7 -
Why does pyDPF report negative harmonic indices
When listing model data pyDPF shows negative values for Harmonic Index? Number of sets: 30 Cumulative Frequency (Hz) LoadStep Substep Harmonic index 1 670386.325235 1 1 0.000000 2 872361.424038 1 2 0…6 -
ATTENTION NEW USERS! READ THIS POST BEFORE DOING ANYTHING!
Hello all! Unfortunately the forum has recently been the victim of a spam attack, which you may have seen. We've got it under control but whilst we work to shore up the walls, so to speak, we have un…6 -
Re: Working with legends in Mechanical scripting
In 2020R2, new ACT features have been released to expose legend settings. Legend Settings can either be Global (common to all results) or result specific.You can use the following Legend Settings obj…7 -
Re: Create a Python result to plot the node ID
The below script can be used. The trick is to use the forward_field() method to send the field to an operator to be able to plot it. def post_started(sender, analysis):# Do not edit this line define_…5 -
Upcoming Changes to the Ansys Developer Forums
All, In the coming weeks we will begin to make updates/changes to the forum UI/UX. While these changes will not be drastic, they will hopefully improve your experience here and make for more usable n…5 -
Re: How do I calculate element volume weighted average of Nodal results in Mechanical?
The solution to this is element volume weighted average. This code expects a named selection with all the elements of interest elements_ns and please adjust line 2 and 7 as per the analysis system in…5 -
Re: How can I show / hide Max / Min results on a contour plot?
graphics = ExtAPI.DataModel.InternalObject["ds"].Graphicsgraphics.ResultPrefs.MaxOn = Truegraphics.ResultPrefs.MinOn = Falsegraphics.Refresh()9