Hello,
I want the system variable "OSNAP" monitor. I have seen that the
"Autodesk.AutoCAD.ApplicationServices.Application" a
shared public event "SystemVariableChanged" has.
Can I use these for?
my idea is so far:
{font:courier new}{size:12px}
Public Class KSRO_ChangeOSNAP_ExtApp Implements Autodesk.AutoCAD.Runtime.IExtensionApplication
Private pAcadApp As Autodesk.AutoCAD.ApplicationServices.Application
Public Sub Initialize() Implements Autodesk.AutoCAD.Runtime.IExtensionApplication.Initialize
pAcadApp = Application.AcadApplication
AddHandler pAcadApp.SystemVariableChanged, New SystemVariableChangedEventHandler(AddressOf pAcadApp_SysVarChanged)
End Sub
Public Sub pAcadApp_SysVarChanged(ByVal sender As Object, ByVal e As SystemVariableChangedEventArgs)
If (e.Name.ToUpper = "OSNAP") Then KSRO_ChangeOSNAP_Commands.SetAllButtonsToStat()
End Sub
End Class
{size}{font}
{font:Courier New}is this possible?
greets
Mario{font}