PDA

View Full Version : How to get the rollouts of a scripted plugin material when UI has been replaced?


werwack
10-05-2009, 09:58 AM
Hello,

I want to extend an existing material class and make my own GUI for it. I then create my plugin as follow:
plugin material MyMaterial
name:"MyMaterial"
classID:#(0x69fedc0d, 0x7c79a4d2)
extends:Standard replaceUI:true


Nevertheless, according to the settings entered by the user, I want to display one of the rollouts that was in the standard material (could be Blind Basic Parameters for example). But I don't want it all the time.

Does someone know how I can get all the rollouts of my base class? Or the rollouts of any standard material?


I tried with replaceUI:false but it this case all the base rollouts are visible, and all the time.

Thanks a lot,


Werwack

HuaMuLan
10-06-2009, 12:49 PM
I am not sure if i really catch your idear.
But I think maxscript can access all the properties of a material.
So , if you really need a rollout in the MEditor . Make it yourself:P

werwack
10-06-2009, 04:02 PM
Hum, yeah, I thought about it but there are many behaviors that are difficult, or time consuming, to recreate in maxscript.

Thx for the suggestion.

CGTalk Moderation
10-06-2009, 04:02 PM
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.