Make a sticky Z toggle


AskInga logo

Original Tip Date: Jul 3, 2003

Make a Sticky Z toggle
 

To toggle the Sticky Z setting in MicroStation V8, use this macro authored and shared by none other than Phil!

Sub main
MbeSendKeyin "mdl silentload AccuDraw"
if LCase$ (command$) = "on" Then
MbeSetAppVariable "ACCUDRAW", "adrawDlog.prefs.stikyZ", -1&
ElseIf LCase$ (command$) = "off" Then
MbeSetAppVariable "ACCUDRAW", "adrawDlog.prefs.stikyZ", 0&
End If
End Sub

 

 

AskInga Tip #298