Notifications
Clear all

[Closed] Rollout Floater in Attribut Holder

hi all,
i want to open a floater by pressed button in AttributHolder modifier, the Floater is ok for open, but nothing behind. It’s possible ? with an other method ? i don’t understand because print return me “Rollout:ResR” thx for your help
example :


ca=custAttributes.getDef $.modifiers[1].MyCtrl
attributes MyCtrl
redefine:ca
(
parameters Res rollout:ResR
(
	 ....................
)
rollout ResR "MyRollout" width:162 height:300
(
	button btn1 "Button" 
on btn_btn1 pressed do
(
	 openRoll()
)
)
fn openRoll =
(
MyFloatingRollout = newRolloutFloater "Test Floater" 800 800
addRollout this.ResR MyFloatingRollout 
	 print this.ResR 
)
)

2 Replies
 PEN

If the instance of resR has been added to the modifier panel that you will not be able to add it to the floater as well. You will need to remove it in the modifier panel then add it to the rollout.

oky,

thx you for the answer

Kermit