Notifications
Clear all
[Closed] How to delete a Controller:Float_Script
Apr 01, 2009 11:26 am
Hi,
I have a float_script attached to $Box07.height.controller.
I would like to remove the controller to manually give a value to $Box07.height .
How to do it in maxscript?
Thanx.
3 Replies
Apr 01, 2009 11:26 am
You can´t remove it, but replace it
$Box07.height.controller = Bezier_Float()
Apr 01, 2009 11:26 am
Hehe, yes, except that if you are using a List_Controller, you actually can delete the controller:
$.controller[1].delete 2 -- imagining you have a position_list controller, and you have a second controller assigned there, this will delete it. Basically you specify the list controller you are using, and then the index of the controller you want to delete.
List Controllers
Apr 01, 2009 11:26 am
Ok, replace it by Bezier_Float is the initial state, and now i can manually change it.
Its also a good tips to know how to delete controllers in list float.
Thanx to you.