Skip to main content

Hiding an Axis DRO in Mach

Activate your UseGUIModule by renaming it if it's not already there

C:\Mach4\Profiles\Mill\Macros\Scripts\UserGUIModule.mcs

image.png

Renamed

image.png

 



 

Open the UseGUIModule and make the following changes to the UserGUIModule.UserScreenLoadScript function.

Ctrl+F and search for UserGUIModule.UserScreenLoadScript

 

Make changes from this.

image.png


To this

image.png

 

function UserGUIModule.UserScreenLoadScript()
------------------ Add user code below this line ------------------ 
m.screen.HideAxis(mc.OB1_Axis)
m.screen.HideAxis(mc.B_Axis)
return true, true, w.FunctionCompleted()
end

 

The (mc.OB1_Axis) should be changed to the axis you want to hide.  You're basically just un commenting the function and it's FunctionComplete stuff.

 

 

make sure to comment out any other stuff you're not using.

image.png

Save, and start Mach4

Hopefully that axis DRO isn't on there anymore.

Pro top:  If you want to toggle showing that DRO on and off.  The easiest thing seems to be to just rename the UseGUIModule to something else, and compile scripts. IF the UseGUIModule isn't doing anything else important I guess.

 

 

This manual would be a lot better if Zion didn't make it..  Sorry.