Notifications
Clear all
[Closed] Remove All Display Filters
Feb 07, 2012 2:39 am
I read about selection and display filters in the documentation, but I’m still unclear how to remove all display filters. What is the remove command in maxscript? Is there a way to remove them all at once or do I need to first identify them? Just not sure how to proceed.
So if I do
for i = 1 to GetNumberDisplayFilters() do --go through all
format "%: %
"i (GetDisplayFilterName i) --print index and name
I get
1: Bone
2: Dummy
OK
Can I somehow remove them both at once or do I need to remove Bone then remove Dummy. Again, what is the remove command?
1 Reply
Feb 07, 2012 2:39 am
what is a problem to delete them by one? a lot of things in max can be only deleted this way: layers, selection sets, controller targets, etc.
so the common way is:
while getnumberofit > 0 do deleteitbyid 1