How to open the ScriptController Rollout via Maxscript ?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 12 December 2008   #1
How to open the ScriptController Rollout via Maxscript ?

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,
 
Old 12 December 2008   #2
I might be wrong, but I don't think you can. You could just script your own editor though.
__________________
www.jasonlabbe3d.com
 
Old 12 December 2008   #3
where #thescriptcontroller# is the actual scripted controller you are trying to access, try -
Code:
displayControlDialog #thescriptcontroller# "Waheey!"


the string at the end is what is in the dialog title bar, so waheey is optional
__________________
Regards,
Pete

Read my technical blog - lonerobot.net
 
Old 12 December 2008   #4
Ahh thanks Pete. Waheey!!
__________________
www.jasonlabbe3d.com
 
Old 12 December 2008   #5
Quote:
Originally Posted by labbejason
Ahh thanks Pete. Waheey!!


you're right Jason, on reflection - waheey is obligatory.
__________________
Regards,
Pete

Read my technical blog - lonerobot.net
 
Old 12 December 2008   #6
Thank you ! it rocks waheey!!!
 
Old 12 December 2008   #7
Yes I use that for spring controllers as well:

Code:
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
__________________
Online: LinkedIn
 
Old 12 December 2008   #8
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:08 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.