TAGGED: #automation#ACT, mechanical
-
-
October 8, 2025 at 12:55 pm
Nandhkishore.Balaji
SubscriberHi!
I am trying to extract equivalent stresses for a named nodal selection using mechanical scripting, in the Python Result Object. However, when I try to run the script below, it throws up an error saying "Invalid Geometry type for the analysis". Any inputs or suggestions on fixing the code would be helpful!
-
October 10, 2025 at 6:44 pm
mjmiddle
Ansys EmployeeThe script worked for me after I corrected a couple mistakes:
1. This line: s_eqv_op.inputs.datasources.Connect(datasource)
Needs to be this: s_eqv_op.inputs.data_sources.Connect(datasource)
2. Remove this line: dpf_workflow.Record('wf_id', TRUE)
What is in the named selection "BOLT_SHANK_UPPER_1"?
I selected a face on a 3D body for a named selection, then I right clicked on the named selection to choose "Create Nodal Named Selection"
Are there beams in the named selection?
-
- You must be logged in to reply to this topic.
-
4047
-
1467
-
1308
-
1156
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.