layer control on off

my wanted routine , that is layer control routine
1. i select 1 object
2. then , all layer is hidden
3. selected object layer is on only

for i = 0 to (layermanager.count - 1) do

( x = layermanager.getlayer i
x.on = false

)
selection[1].layer.ishidden = false

is routine error ?
that routine did not work .

Comments

Comment viewing options

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

Thank you, my pleasure.

Thank you, my pleasure.

bga

barigazy's picture
dussla's picture

wow really thank you

that is really good script

Comment viewing options

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