'Nonetype' object has no attribute 'id' error
Posted: Mon Jun 30, 2025 8:52 am
Hi STKO team,
I was trying to do eigen value analysis and kept having 'Nonetype' object has no attribute 'id' error in physical properties of 'forceBeamElement' python script writing while running the analysis, but I've tried to re-assign all the physical properties and cannot find out the reason, please help me with this problem and let me know how I could check which element is losing its property and how to solve it, thank you!
I attached the scd file and error image in the attachment.
The last line of the error shows:
File "C:\Program Files/STKO\external_solvers\opensees\element_properties\beam_column_elements\forceBeamColumn.py", line 154, in writeTcl
secTag = phys_prop.id
I was trying to do eigen value analysis and kept having 'Nonetype' object has no attribute 'id' error in physical properties of 'forceBeamElement' python script writing while running the analysis, but I've tried to re-assign all the physical properties and cannot find out the reason, please help me with this problem and let me know how I could check which element is losing its property and how to solve it, thank you!
I attached the scd file and error image in the attachment.
The last line of the error shows:
File "C:\Program Files/STKO\external_solvers\opensees\element_properties\beam_column_elements\forceBeamColumn.py", line 154, in writeTcl
secTag = phys_prop.id