Hey
I'm looping over my selection and depending on type of object I'd like to do differnt stuff... how can I get type of selection?
Forum topic · General Scripting
By Dariusz · 2017-02-03
Hey
I'm looping over my selection and depending on type of object I'd like to do differnt stuff... how can I get type of selection?
.
miauu · 2017-02-04
When you select objects in 3dsMax the type of selection is "ObjectSet".
To see the class of the objects in the selection use the code below.
selObjsArr = selection as array
for o in selObjsArr do print (classOf o)