Notifications
Clear all

[Closed] Remove/hide viewport x y z text

Hi everyone,
Does anyone know how to hide the viewport text like below?I wanna capture pure viewport without it via script,thanks!

6 Replies

This option is only in the preferences window… no way via direct maxscript call or something
So you have to open the preferences window ( via script), switch to the corresponding tab ( viewports), disable the checkbox and close the preferences window. All via script using DialogMonitorOPS.
As far i remember i even had troubles triggering the checkbox in PowerPreview, so i postponed the solution for Powerpreview and rely on the user to switch this axis off in preferences

1 Reply
(@momo2012)
Joined: 10 months ago

Posts: 0

Oh,thanks for help.I’ll try use your DialogMonitorOPS way.

In 3dsmax 2017 or higher you can do:


(((dotnetclass "autodesk.max.globalinterface").instance).utilgetcoreinterface16()).showworldaxis = true|false


(cgtalk is formatting the code improperly for some reason…take the space out between the ‘i’ and ‘s’ in “axis”)

1 Reply
(@momo2012)
Joined: 10 months ago

Posts: 0

Too much thanks ,I am finding a way can do it support in 3dsmax lower version.

deleted…

Thanks a lot for this hint… will make use of it for sure …