Notifications
Clear all
[Closed] How to get a selection set at sub-object level
Apr 22, 2021 2:06 am
I have a few selection sets I made for vertices in my Edit Poly modifier. I am trying to select and access these through MaxScript and am having trouble.
myObj = $myObj
max modify mode
select myObj
enableSubObjSel true
subObjectLevel = 1
select $myObj.verts.selectionSets[1]
It says that selectionSets in an unknown property on verts. I cannot find ANY information on how to get selection sets for sub-object levels.
1 Reply
Apr 22, 2021 2:06 am
$.verts.selSetNames
-- #("a", "b")
$.verts["a"] -- $.verts[#a]
$.verts["b"] -- $.verts[#b]
the same is for other subs