How to get a selection set at sub-object level


#1

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.


#2
$.verts.selSetNames 
-- #("a", "b")

$.verts["a"] -- $.verts[#a] 
$.verts["b"] -- $.verts[#b] 

the same is for other subs