hi i want to do this operation on multiple selected objects

hi i want to do this operation on multiple selected objects

$.pos.controller.Path_Constraint.controller.follow = on

It operates on a single object , but with a multiple selection says
- Unknown property: "pos" in $selection

what should I do?

thanks for your time

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vusta's picture

try this

for i in (selection as array) do (i.pos.controller.Path_Constraint.controller.follow = on)

(not much checking here, I simply assume you've properly selected your objects)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.