View Full Version : Get and set sub-object selections in a poly_select modifier?
3rd Dimentia 11-04-2008, 12:18 PM I might be totally missing this in the help file, but I can't seem to find how to use maxscript to get and set sub-object selections with a poly_select modifier. Is it possible? I know how to do it with an editable poly object and an edit_poly modifier. The script I'm writing needs to be able to cover all bases if possible. Cheers.
Cg.
|
|
Hi there,
How about using something like "modPanel.setCurrentObject $.modifiers[#Poly_Select]" and then the system global "subobjectlevel" to get and set the level?
Cheers,
--Nam
3rd Dimentia
11-05-2008, 10:15 AM
I was looking to do more than just turn on sub-object. I wanted to be able to get and set the bitarray of the selected subojects. Like:
selVertsCgRay = polyop.getVertSelection
with editable poly object
and
selVertsCgRay = currentStackLevel.getselection #vertex
with edit poly modifier
Cheers,
Cg.
ZeBoxx2
11-05-2008, 10:50 AM
didn't spot anything myself beyond temporarily adding another modifier just above the one of interest, a modifier of which you -can- get the selection.
CGTalk Moderation
11-05-2008, 10:50 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.