CursorSize property example
Sub CursorSize_Example()
    Dim currCursorSize As Integer
    Dim newCursorSize As Integer
    Dim myPrefs As AcadPreferences
    Set myPrefs = ThisDrawing.Application.preferences
    
    currCursorSize = myPrefs.Display.CursorSize
    MsgBox "The current value for CursorSize is " & currCursorSize
    
    newCursorSize = 15
    myPrefs.Display.CursorSize = newCursorSize
    MsgBox "The new value for CursorSize is " & newCursorSize
    
    myPrefs.Display.CursorSize = currCursorSize
    MsgBox "The CursorSize value is reset to " & currCursorSize
End Sub
| ©  Bricsys NV. All rights reserved. |