Highlighting Sketch Dimensions

siliconlad
Contributor

Highlighting Sketch Dimensions

siliconlad
Contributor
Contributor

Given a SketchDimension object (or even a Sketch object), is it possible to highlight the dimension in the UI? Ideally without entering sketch mode. If not, is there a way to manually draw them on the screen?

0 Likes
Reply
Accepted solutions (1)
255 Views
1 Reply
Reply (1)

BrianEkins
Mentor
Mentor
Accepted solution

You can use the Sketch.areDimensionsShown property to turn on the display of all the dimensions in a sketch. Then, you can use the API to select a sketch to "highlight" it. That's the only way I'm aware of. The API doesn't provide access to the geometry of the dimension, so you don't have the information needed to redraw it with custom graphics.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes