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