I was trying to make a toggle function between different snap angle values, but much like this thread says from 2008, there isn't a variable listed in the Max documentation under the snapMode struct page, nor does the MaxListener pick anything up. Is there a way to modify this value by script nowadays, or no there's been…
Yeah, the functions worked like a charm, and making a toggle script was super easy. 5if not snapManager.GetSnapAngle() == 90 then snapManager.SetSnapAngle 90
else snapManager.SetSnapAngle Thank you so much Pac. If you feel like explaining any day what those two lines do, or how can I find out for myself, I'd appreciate it…
Hey, haven't logged in for some time so didn't see your response, sorry. In simple terms I'm making use of the 3ds Max SDK using the .NET wrapper which has been released quite some time ago (Max 2012?!). Using the COREInterface you get access to some part of 3ds Max internals and can interact with stuff that's not exposed…
Lucky you! I just crafted something for @Olli. a few days ago :) global snapManager<br>struct snapManager<br>(<br> private<br> maxglobal,<br> ip,<br> <br> public<br> fn GetAngleSnap = <br> (<br> this.ip.ASnapStatus > 0 -- return value<br> ),<br> <br> fn SetAngleSnap state = <br> (<br> if not isKindOf state BooleanClass…