3ds max viewport navigation variable speed workaround

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
clearskystudio
Posts: 11
Joined: Sun Dec 11, 2016 5:50 am

3ds max viewport navigation variable speed workaround

Post by clearskystudio » Sat Jul 14, 2018 11:21 am

I have been struggling for a long time with the way my spacemouse pro works in 3ds max in terms of it kinda takes into account the size of the object I zoom extended to and changes speed of navigation after that. So I made a very simply but effective workaround for that. I thought somebody would find it useful. So here is the code:

Code: Select all

	with redraw off (
	currentViewportTM = getViewTM()
	viewScale = 200 -- this is the value which will define the scale of navigation in scene units
	fitBox_1 = box lenght:viewScale width:viewScale height:viewScale isSelected:true
	max zoomext sel 
	delete fitBox_1
	viewport.setTM currentViewportTM
	)
I find it handy to drop this code onto my toolbar and set several buttons like that with different scale to quickly and seamlessly switch between scales while working.

Post Reply