Best Of
-
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 -
Re: How to retrieve WB extensions Log Output as a String in ACT console?
From David Roche's TIG Post: import clrclr.AddReference("Ansys.ACT.Core")from Ansys.ACT.Core.Messages import * print Log.Stream.ToString()5 -
Re: How to export results (SMISC - axial forces and moments) for all the beam connections in Mechanical?
Extension to the above answer, when Beam connection is scoped to a Bolt Pretension (beam is divided into two elements) and we need the My and Mz results at Node i of the first beam elem (first half o…6 -
Re: Create and export contact tool results for all time steps
The following script can be adapted to do this: * Define path to where results will be exported: FilePath="C:\Users\pmaroneh\Downloads\" FileExtension=r".txt" * Reference some nec…5 -
Re: Update multiple static links for a record as a sequence
Hi Mickael! This is possible, the trick is that you can call the set_links method multiple times for the same record. See the sample code below: from GRANTA_MIScriptingToolkit import granta as mpymi …6 -
Re: What is the alternative to NumPy in iron python?
Futher documentation on the .NET Library: https://numerics.mathdotnet.com/5