[2 month bump] Sory, had to share
![Quote](styles/modacity/misc/quote_icon.png)
Originally Posted by
CtrlAltDestroy
this edited version of TheGhost's Bluestreak JMS exporter fully supports regions
No, actually it only supports face selection sets. I'm preferring SelectionSetArrays ("whole object" level), because they're still there after the topology is changed.
This here code sets up face selections from object selections
edit- added condition to check if named selection sets exist, and removed the format statement which i think caused Advancebo's broblem (see next post)
Code:
ssc=getNumNamedSelSets()
if ssc>0 then
for ssi=1 to ssc do
(
ssic=getNamedSelSetItemCount ssi
for oi=1 to ssic do
(
o=getNamedSelSetItem ssi oi
if (classof o.baseObject==Editable_mesh) then -- removed bug here
o.faces[getNamedSelSetName ssi]=o.faces
)
)
It's like a bandaid. Better would be if the script checked for both - not that I don't apreciate you're making it possible for 3ds9 users like me to export regions. Happy belated +rep, btw ![Smile](/forums/images/smilies/smile.png)
I made a button of it by drag/dropping it from a new maxscript window to the toolbar, but it could also be pasted into the top of the exporter.
maybe if the exporter gets another update, this or something that checks for both could be incorporated. I got some other minor improvements to add if that happens, like storing the filepath for quick re-exporting[/2 month bump]
Bookmarks