ScriptSpot

Forum topic · Scripts Wanted

Plugin modifier to unselect all

By titane357 · 2023-10-20

Description

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 (3)

titane357 · 2023-10-23

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

SimonBourgeois · 2023-11-08

You're Welcome, Glad i could help :)

Clear Selection Modifer

SimonBourgeois · 2023-10-22

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.