LayerProperties

How understand string
---------------------------------------------------------------
.visibility : float : Read|Write

Get/Set whether the objects on the layer will be visible.
--------------------------------------------------------------------

What meen FLOAT in this prorerty?

I want to hide all objects in layer....

Comments

Comment viewing options

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

.

Float means from 0.0 to 1.0. 0.5 means that the object is 50% transparent. For example, create a teapot, select it and then execute:

$.visibility = 0.5

Comment viewing options

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