Notifications
Clear all

[Closed] How to delete a Controller:Float_Script

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

You can´t remove it, but replace it


 $Box07.height.controller = Bezier_Float()
 

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

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.