Home Technical Talk

3DSMax - Hide viewport geometry in Unwrap_UVW modifier?

polycount lvl 666
Offline / Send Message
PolyHertz polycount lvl 666
Anyone know a way to hide viewport geometry when in the Unwrap_UVW modifier? When working in Editable Poly / Edit_Poly it's really easy to hide/unhide selected viewport geometry if it gets in the way, but I can't seem to find a way to do the same while unwrapping. You can hide selections in the floating "Edit UVWs" window, but that's not nearly as useful.

Based on the Maxscript 2016 documentation, one of these should work, but it seems they both do nothing:
(modpanel.getCurrentObject()).hideSelectedPolygons()
(modpanel.getCurrentObject()).unwrap2.hideSelectedPolygons()

EDIT: Someone sent me a message asking if I ever found a solution for this, so in case anyone ever comes across this topic again; yes, I did find a solution! Here it is:

modFullName = modpanel.getCurrentObject()
polyop.sethiddenfaces $.baseobject (modFullName.getSelectedFaces())
modFullName.unwrap6.selectFacesByNode #{} $ --deselect hidden faces
modFullName.Edit() --Refreshs the internal list of what components are selectable.
Sign In or Register to comment.