API - Tool for orientation annotations on drawingview
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm currently working on a Tool that will serve as an annotating tool. It will add orientations based on centerlines that are placed on the model.
I currently made the part that does the main orientations 0° 90° 180° 270°. For this operation the user must select an centermark and then the tool adds the orientations as text (general note) on the end points of the centermark (see attached image).
Now I want to do the same based on the centerlines that are placed on the view. But i'm stuck... I would like to get a collection of all the centerlines that are in View "Test" but there isn't a collection available in Inventor.DrawingView there is only one in the sheet.
So my question: How can I get only the centerlines that are associated with the drawing view test. And not the collection of centerlines that are on the entire sheet?
Secondly. Is it possible to attach a general note to a view? So when you move the view, the general note moves with it?
Please kudo if this post was helpfull
Please accept as solution if your problem was solved
Inventor 2014 SP2