Message 1 of 3
Detecting the active viewport to automate snap settings in MaxScript
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been experimenting with automating snap behavior in 3ds Max based on the active viewport, so I don't have to manually flip between Vertex, Edge, 2.5D, and 3D snap modes every time I switch viewports.
I'm curious how others approach this. Is there a reliable way you've found to detect the active viewport and switch snap settings accordingly, without interfering with the user's existing configuration?
Particularly interested in solutions that work reliably across 3ds Max 2020 through 2026.