Notifications
Clear all

[Closed] max 2012 visibility property bug

Hi guys,

I was wondering if the visibility property is bug on your computers as well, in max 2012.

whatever value I enter, it put the visiblity to 0

4 Replies

It seems to work ok here.

Are you assigning a controller to the visibility track before changing it’s value?

no I didnt

I used a simple loop like this one

for o in objList do
(
	o.visibility = val
)

I thought it could only be set to true or false unless a controller is assigned. (Maybe 0 or 1 works as well)

Try

for o in objList do
(
	o.visibility = bezier_float()
	o.visibility.controller.value = val
)

my bad, should read the help file first.

Thanks