Selecting visible object

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

Comment viewing options

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

`

try this:

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

Comment viewing options

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