PDA

View Full Version : Rollout Floater in Attribut Holder


Kermit
12-19-2007, 04:50 PM
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
)
)

PEN
12-19-2007, 07:44 PM
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.

Kermit
12-20-2007, 11:41 AM
oky,

thx you for the answer

Kermit

CGTalk Moderation
12-20-2007, 11:41 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.