AnsweredAssumed Answered

API Drawing - Select Dimension & Zoom To

Question asked by Thomas Nagy-Zambo on May 29, 2015
Latest reply on May 29, 2015 by Matt Martens

I'm trying to write a macro that will cycle through all the dimensions on a drawing and allow the user to add custom properties as well as export the info to excel. My code cycles through the dimensions just fine, but I am having trouble clearly showing to the user which dimension is being edited. What would be ideal is to programmatically select the dimension so it is highlighted blue and then zoom to it so that it is in the center of the screen.


I've tried SelectByID2 but it doesn't seem to work.


Any help would be appreciated, I'm open to suggestions for other ways to visually show dimension being edited.