ScriptSpot

Forum topic · Scripts Wanted

Remove viewport label menu

By rvidal · 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)

Swordslayer · 2022-03-29

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

rvidal · 2022-04-01

How do you know that things? voodoo?
Thank you!