Best Of
-
Re: How can I get the "offending faces" in a failed mesh with scripting?
You can use the following API: ExtAPI.Application.Messages[0].Location Right Click > Show Problematic Geometry1 -
Re: How can I generate the results "at all sets" and add a figure under each result object?
Here is an example of how to generate the total deformation result for all mode shapes and add a figure below each with Mechanical Scripting. Firstly, I created a Total Deformation object of interest…1 -
Re: Set Scoping Method and Named Selection of Imported Load Temperature
I believe you're actually doing Mechanical Scripting (and not PyMechanical). You don't need to change the scoping method to named selection when you are using scripting. Simply scope to a named selec…1 -
Re: Obtaining results in Ansys Mechanical from a Rigid Dynamics System
Hey @Ayush Kumar and @Pernelle Marone-Hitz I found some documentation in the Ansys Python interface, The RBD solver info can be accessed through the CSMOTION reference So far it looks like it's possi…1 -
Re: Access Imported Body Temperature values via automated script
Check out this post about API for imported load objects.1 -
Re: How can I extract mesh data from a selected face / body?
This can be achieved with some Python commands executed in the Mechanical Scripting interface. First let's check how you can get the face / body Id. Assuming you've created a Named Selection scoped t…1 -
Re: Scripting Command to Set Mesh to "Editable" in Ansys Mechanical
Thank you so much! It worked1 -
Re: Tips 'n' Tricks: Contact Element Scoping in PyDPF with Exclusion of Bonded Contact Behavior
Thanks, @Pernelle Marone-Hitz, for bringing this to our attention. While we had included the script as an attachment, it turns out it's not accessible to everyone. We appreciate your vigilance—thanks…1 -
Re: Why can't I get the principal plstic strain from d3plot by DPF core?
I'll let @Ayush Kumar comment further, but my understanding is that this operator cannot handle d3plots files. From the PyDPF-Core help (which is here more complete that the Mech DPF one), the operat…1 -
Re: Random color material
Thanks a lot Tasos, Here is a new version : liste_systemes = GetAllSystems() liste_textes = [systeme.DisplayText for systeme in liste_systemes] liste_noms = [systeme.Name for systeme in liste_systeme…1