Best Of
-
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 -
Re: Random color material
Hi @Jean, Appended below is an example workflow to assign a different (and random) colour for each material in your system with Workbench scripting. First, access the engineering data cell of the sys…1 -
Random color material
Hello, Here is my problem : * When I create my materials in Workbench, I do not always change the color and/or sometimes, we many materials, colors are similar * So, In Mechnaical, when I display the…1