Hello, I have a small macro and would like to have some text displayed on the viewport when I activate it, I've tried the code from this page:
https://forums.cgsociety.org/t/draw-a-text-in-corner-of-the-viewport/163...
but I get an error Exception message: "registerRedrawViewsCallback() expected function, got: undefined."
My macro is the following:
macroScript LockSnapScale
category:"# sampei"
buttonText: "Lock,Snap,Scale"
toolTip:"Lock,Snap,Scale"
(
actionMan.executeAction 0 "59231" -- Selection: Selection Lock Toggle