Best Of
-
Re: What's the difference between "Tree geometry" and "Geodata" in Mechanical API?
One important thing to understand with geometry in Mechanical : there are two sorts of "geometry" with different sets of IDs: The bodies in the Mechanical tree have their own ID, as objects…1 -
Re: PyAnsys - How to get node deformations/displacements fast?
I tested it with AddDirectionalDeformation() for each loadstep and for me it is fast enough so far… But thanks for the other proposal with DPF! I will keep it in mind in case the models/time steps ge…1 -
Re: PyAnsys - How to get node deformations/displacements fast?
Indeed, PlotData only refers to the current plot, so the time step at which the results are displayed. This is why DPF would be more suited here, as you would be able to extract the values for all th…1 -
Re: How to create a Section Plane via PyMechanical?
Thanks @Pernelle Marone-Hitz for your reply. I will report it in Github.1 -
Re: PyAnsys - How to get node deformations/displacements fast?
As suggested by @Thomas25 , you can use PlotData. Another approach is to use DPF instead of GetResultsData, which will be much more efficient: 21.2.2. Understanding Data Processing Framework2 -
Re: How can I create probe labels on figure objects?
A workaround to this limitation has been developed by our colleague, Logan. The user has to generate the figure object of interest under the base result object (res). figure = res.AddFigure() Then, t…1 -
Re: PyAnsys - How to get node deformations/displacements fast?
When adding results to the solution via: solution = ExtAPI.DataModel.Project.Model.Analyses[0].Solution ddx = solution.AddDirectionalDeformation() ddx.NormalOrientation = NormalOrientationType.XAxis …2 -
Re: SpaceClaim script to list component/body suppress-for-physics status
Hi @Naritoyo, Please use this script: for component in GetRootPart().GetAllComponents(): print(component.GetName()) for body in component.Content.Bodies: print (body.Name, body.IsSuppressed)2 -
Re: How to activate CPython in Ansys Mechanical V241?
@DSSim CPython till 2025R2 is a Beta capability, therefore it might happen that not all cases are well covered and tested. We can look into detail if there is way to fix this in 202R2 however it woul…1 -
Re: How to calculate signed von mises in PyDPF?
Perhaps @Ayush Kumar can help?1

