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
'Nonetype' object has no attribute 'id' error
-
Weiyi Shao
- Posts: 3
- Joined: Mon Jun 30, 2025 8:40 am
'Nonetype' object has no attribute 'id' error
- Attachments
-
- files.zip
- (330.02 KiB) Downloaded 89 times
-
Weiyi Shao
- Posts: 3
- Joined: Mon Jun 30, 2025 8:40 am
Re: 'Nonetype' object has no attribute 'id' error
I've fixed the above mentioned problem - because I also assigned element properties to the rigid diaphram.
But the output data of the eigen value analysis shows a very small number of periods, does anybody have a clue on this?
But the output data of the eigen value analysis shows a very small number of periods, does anybody have a clue on this?
Re: 'Nonetype' object has no attribute 'id' error
When your period seems to small, double check that you put everything with the correct unit system.
Double check your mass and make sure (from the modal properties) that the whole mass of your structure is what you expect
Double check your mass and make sure (from the modal properties) that the whole mass of your structure is what you expect