Making new Selection Sets via FaceGroups and Regions

Hey Everyone,

So I'm fairly new at scripting in DAZ, though I have plenty of experience with Javascript. I'm trying to figure out how to write the scripting equivalent of doing this: selecting several groups of polygons by both FaceGroup and Region, then creating a SelectionSet from them, then deleting all of the remaining (unselected) polygons. It seems like a good deal of what I want to do is not really covered in the API reference. I did find this thread https://www.daz3d.com/forums/discussion/44187/accessing-face-selection-sets-via-the-sdk which illuminates how to access SelectionSets, but I'm still unsure how to access polygon selections by Region (as well as delete polygons for that matter, but that's the next step). 

If anyone can share any insight about this that'd be wonderful. Thank you!

 

-L.

Comments

Sign In or Register to comment.