How to enable or disable HUD with VBA?

How to enable or disable HUD with VBA?

lzs013
Advocate Advocate
523 Views
2 Replies
Message 1 of 3

How to enable or disable HUD with VBA?

lzs013
Advocate
Advocate

How to enable or disable Heads-Up Display with VBA?Snipaste_2018-11-21_09-07-28.png

0 Likes
Accepted solutions (1)
524 Views
2 Replies
Replies (2)
Message 2 of 3

YuhanZhang
Autodesk
Autodesk
Accepted solution

Yes you can. Here is a VBA sample to access the HUD display options:

 

Sub HUDOptions()
    Dim oHUD As HeadsUpDisplayOptions
    Set oHUD = ThisApplication.SketchOptions.HeadsUpDisplayOptions
    
    oHUD.Enabled = True
    
    oHUD.PointerInputEnabled = True
    oHUD.DimensionInputEnabled = True
End Sub


If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 3 of 3

lzs013
Advocate
Advocate

Thank you very much!

0 Likes