ScriptSpot

Forum topic · General Scripting

Selecting visible object

By Mrjacks2o · 2015-08-17

Description

Hi Everyone
I have 20 objects named 360
19 of them are hidden i want to only select the object that is not hidden and named 360

this code works but how can i specify it to select 360 instead of all the none hidden objects

select (for o in objects where not o.isHiddenInVpt collect o)

thanks in advance

Comments (1)

`

pixamoon · 2015-08-17

try this:

 select (for o in objects where not o.isHiddenInVpt and o.name = "360" collect o)