TAGGED: #automation#ACT, mechanical
- 
		
			- 
October 8, 2025 at 12:55 pmNandhkishore.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 pmmjmiddle 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? 
- 
October 13, 2025 at 12:34 pmNandhkishore.Balaji Subscriber This script works now. Thank you so much!  The named selection did not contain any beam elements.  
 
- 
- You must be logged in to reply to this topic.
- 
                        
                        4167
- 
                        
                        1487
- 
                        
                        1363
- 
                        
                        1189
- 
                        
                        1021
© 2025 Copyright ANSYS, Inc. All rights reserved.

 You are navigating away from the AIS Discovery experience
You are navigating away from the AIS Discovery experience 
               
          