I'm currently trying to access the skin modifier's radius variables in a program I am making which uses this line of code:


It comes out with the error:

RuntimeError: bpy_prop_collection[index]: internal error, valid index 0 given in 4 sized collection, but value not found

Any ideas how I can fix this?


1 Answer 1


I have found the answer, The reason for this error is because the data linked to the skin modifier is locked when using edit mode. Simply setting it to object mode unlocked the variables. Hopefully this helps anyone who was as confused as I was.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .