@jacob1 (View Post)
I must be doing something wrong, I get an "Invalid Field Id (14)" error on this line:
if sim.partProperty(sim.FIELD_TYPE, i) == elem.REAL_PT_U238 then
Yay it works!!!