Get and set sub-object selections in a poly_select modifier?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 11 November 2008   #1
Get and set sub-object selections in a poly_select modifier?

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.

Not bad. For a hughman.
Old 11 November 2008   #2
Hi there,

How about using something like "modPanel.setCurrentObject $.modifiers[#Poly_Select]" and then the system global "subobjectlevel" to get and set the level?

Old 11 November 2008   #3
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


  selVertsCgRay = currentStackLevel.getselection #vertex

with edit poly modifier


Not bad. For a hughman.
Old 11 November 2008   #4
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.
Old 11 November 2008   #5
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 11:41 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.