ScriptSpot

Forum topic · ScriptSpot How To

hi i want to do this operation on multiple selected objects

By juanb · 2015-10-05

Description

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 (1)

try this

vusta · 2015-10-07

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)