Select to view content in your preferred language

Want to override the tooltip information displayed using Editor widget

426
2
Jump to solution
06-12-2023 06:43 AM
Gurunara
Occasional Contributor

Default tooltip option shows area information in ft2 and mi2 during sketch operation. Want to override this default behavior. Found tooltipOptions: SketchTooltipOptions in Editor configuration. Was wondering if there was sample code for overriding this in order to achieve what I am looking to do. Would like to display the area information in acres instead of ft2/mi2.

 

0 Kudos
1 Solution

Accepted Solutions
Gurunara
Occasional Contributor

Solved by overriding editor.tooltipOptions by setting it to editor.tooltipOptions.enabled false and providing my own behavior to editor.tooltipOptions.addHandles(customUpdateHandle)...

View solution in original post

2 Replies
Gurunara
Occasional Contributor

Solved by overriding editor.tooltipOptions by setting it to editor.tooltipOptions.enabled false and providing my own behavior to editor.tooltipOptions.addHandles(customUpdateHandle)...

AndreV
by
Occasional Contributor

Hi, could you provide the code for your customUpdateHandle?

gdi-hohenlohekreis.de
0 Kudos