ScriptSpot

Forum topic · General Scripting

running script for objects

By JokerMartini · 2011-05-02

Description

How would i go about writing that I want to run a function for everything in the scene excluding the current selection and any objects hidden or on a hidden layer?


for obj in $* where not obj.isSelected do
(
obj.wirecolor = blue
)

Comments (1)

try this

Anubis · 2011-05-02

(for obj in $* where not obj.isSelected and not obj.isHidden collect obj).wirecolor = blue