View Full Version : How to delete a Controller:Float_Script

04 April 2009, 10:26 AM

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?


04 April 2009, 10:50 AM
You canīt remove it, but replace it :)

$Box07.height.controller = Bezier_Float()

04 April 2009, 01:41 PM
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

04 April 2009, 03:23 PM
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.

CGTalk Moderation
04 April 2009, 03:23 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.