[Closed] 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,
I might be wrong, but I don’t think you can. You could just script your own editor though.
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
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