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
Moved to the scripting forum, since it appears to be about scripts rather than the binary SDK. Is that right? If so you want the samples relating to geometry http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start#geometry and I think the DzShape methods and objects, but that isn't currently available.
Hey Richard,
Yes, thank you for moving it. Sorry about posting in the wrong place, my mistake.
And thank you for the link, I'll look that over. I believe you're correct about the DzShape methods. Hope that info is available some time in the future.