Plugin modifier to unselect all

Hi,
I use plugin modifier InvertSel
Sorry for the creator I can't find its name ! :-(
Here is the code:
--------------------------------------------------
plugin modifier InvertSel
name:"Invert Selection"
classID:#(0x133382167, 0x5109474)
extends:Turn_to_Mesh
replaceUI:true version:1
(
on create do
(
delegate.selectionConversion = 2
)
)
--------------------------------------------------
Anybody could make such a plugin modifier to remove all selection ?
Thanks a lot. :-)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
titane357's picture

@SimonBourgeois : Thank you

@SimonBourgeois : Thank you very much ! Works like a charm !
I prefer a dedicated modifier than a vol.select modifier ; It's more stylish :-)

SimonBourgeois's picture

You're Welcome, Glad i could

You're Welcome, Glad i could help :)

SimonBourgeois's picture

Clear Selection Modifer

Hi, you can use this code :

plugin modifier ClearSel
name:"Clear Selection"
classID:#(0x1e4841b6, 0x66702754)
extends:Turn_to_Mesh
replaceUI:true version:1
(
on create do
(
delegate.selectionConversion = 1
)
)

You can also use a vol.select modifier.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.