Hi, I want the text I draw to be hidden after mouse move/pan/rotate or over time in viewport.
Here's my code:
(
global GW_displayText
unregisterRedrawViewsCallback GW_displayText
fn GW_displayText = (
rect = (box2 13 47 96 97)
gw.Hrect rect red
gw.hMarker (point3 20 207 0) #smallDiamond color:yellow
gw.hText (point3 27 200 0) ("This is not a Standard material. Actual typ1e:") color:yellow
gw.enlargeUpdateRect #whole
gw.updateScreen()
)
registerRedrawViewsCallback GW_displayText
)
By tosyk · 2022-07-16
barigazy · 2022-07-22