'Nonetype' object has no attribute 'id' error

Post Reply
Weiyi Shao
Posts: 3
Joined: Mon Jun 30, 2025 8:40 am

'Nonetype' object has no attribute 'id' error

Post by Weiyi Shao » 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
Attachments
files.zip
(330.02 KiB) Downloaded 88 times

Weiyi Shao
Posts: 3
Joined: Mon Jun 30, 2025 8:40 am

Re: 'Nonetype' object has no attribute 'id' error

Post by Weiyi Shao » Mon Jun 30, 2025 2:47 pm

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?

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: 'Nonetype' object has no attribute 'id' error

Post by STKO Team » Mon Jul 07, 2025 8:40 am

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

Post Reply