I need a macro to automate creation of view labels for weldment component views. The component views are drawing views showing a single body from a weldment. They must be labeled with certain cut list properties. Doing this manually is error-prone, time-consuming, and unforgiving of change. I need a macro that will allow me to select a face from the body shown in the component view (or somehow identify the body shown in the view), run the macro, and have it attach a note to the component view that displays info from that body's cut list properties, e.g. description and quantity.
I've looked from solutions but have found none. This one seemed close to what I'm looking for but the "correct answer" does not work from the drawing environment.
Any help would be enormously appreciated.
Thank you.
SolidworksApi/macros