ScriptSpot home

Forum topic · Scripts Wanted

Remove viewport label menu

By Rafael Vidal Peres · 2022-03-26

Description

Hello,
Anybody knows how to remove the viewport label menu?

I really need that for a project, but I couldn't find how.

Comments (2)
Vojtech Cada
(
	local iGlobal = (dotNetClass "Autodesk.Max.GlobalInterface").Instance
	local iViewportButtonManagerID = iGlobal.Interface_ID.Create 0x47ab2195 0x22e8126e
	local vpButtonManager = iGlobal.GetCOREInterface iViewportButtonManagerID
	vpButtonManager.EnableButtons off
	redrawViews()
)