How to get all modifiers from object selected?
Thanks you
Forum topic · General Scripting
By netkingZ · 2016-11-30
How to get all modifiers from object selected?
Thanks you
also you can use this fn
fajar · 2016-12-01
also you can use this
fn getSelectionModifiers node =
(
local x= #()
if node != undefined do
(
join x node.modifiers
)
x
)
-- getSelectionModifiers $ // this is how to use it
.
miauu · 2016-11-30
(
if selection.count == 1 then
(
curO = selection[1]
if curO.modifiers.count != 0 then
(
modsArr = for m in curO.modifiers collect m
print modsArr
)
else
messagebox "No modifiers" title:""
)
else
messagebox "Select one object" title:""
)