Best Of
-
Re: Activate/deactivate boundary conditions through scripting
The following code can be adapted. Please note that activating/deactivating a boundary condition is done by the use of InternalObject, which use is not supported. analysis=ExtAPI.DataModel.Project.Mo…5 -
Re: STK 4.2: Associated records returned from `bulk_fetch_associated_records` have the wrong `.table`
Just to follow up, we've merged the fix. This will be available in the next release of Scripting Toolkit.5 -
Re: file.rst file stuck when using Reader in Mechanical
You can also use the Dispose() function on the reader.5 -
Re: PyMechanical: Opening an existing mechdat file while launching PyMechanical
Hi @"James Derrick" , thank you for your quick response. I have found a way of doing it. Instead of opening an existing file using launch_mechanical directly, I used the run_python_script(.…5 -
Is your scripting up to scratch?
We want to hear from you! What's the most useful Ansys scripting tip you've found? It could be on the forum, in documentation, or anywhere else. It just has to be... * About Ansys * A developer tool …10 -
Re: Display XY-plot by using PyFluent Visualization
Hi, does this help: https://stackoverflow.com/a/56416229 ?6 -
Re: Ansys Python Chart Output Quantities
Hello @jholder2 A colleague of mine gave me the answer for this. #----------------------------------------------------------------------all_properties=Add_Chart.Properties #Output Quantities starts f…5 -
Re: How to change project unit system in Mechanical?
ExtAPI.DataModel.Project.UnitSystem = Ansys.Mechanical.DataModel.Enums.UserUnitSystemType.StandardNMMton https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v201/en/act_ref/item…6 -
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




