PDA

View Full Version : How to open the ScriptController Rollout via Maxscript ?


Floating_Inkpot
12-08-2008, 09:01 PM
Hi,
I i am looking for a way to open the ScriptController Rollout by Maxscript.
This is the little window that open when clicking on the properties of a scripted controller in the trackview for example.

I am making an interface where i can edit each morph script controller, i want to add a button where the user can click and edit the script fast.

I searched the maxscript refference, and internet but did'nt found any solution.
Is there a way to do this ?

Thanks for the help,

labbejason
12-08-2008, 10:11 PM
I might be wrong, but I don't think you can. You could just script your own editor though.

LoneRobot
12-08-2008, 11:04 PM
where #thescriptcontroller# is the actual scripted controller you are trying to access, try -

displayControlDialog #thescriptcontroller# "Waheey!"

the string at the end is what is in the dialog title bar, so waheey is optional :)

labbejason
12-08-2008, 11:24 PM
Ahh thanks Pete. Waheey!!

LoneRobot
12-08-2008, 11:29 PM
Ahh thanks Pete. Waheey!!

:thumbsup: you're right Jason, on reflection - waheey is obligatory.

Floating_Inkpot
12-09-2008, 12:14 AM
Thank you ! it rocks :p waheey!!!

JHN
12-09-2008, 07:34 PM
Yes I use that for spring controllers as well:


for i in (getClassInstances positionSpring as array) do displayControlDialog i ""


This code pops up all spring controllers in the scene, which otherwise would be a tedious task just finding them in the trackview...

-Johan

CGTalk Moderation
12-09-2008, 07:34 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.