Message 1 of 4
Drawing automation using attribute helper

Not applicable
09-27-2020
11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am working on Inventor drawing automation using attribute helper as below.
- Using attribute helper I am creating attributes for dimension X and Y position.
- Through API I am reading the attributes for each dimension in drawing.
- Once I have the X and Y position attribute I am getting the dimension view name using "oView = oLinDim.IntentOne.Geometry.Parent;"
- Once I get the view name, I have the view origin.
- Using view origin I am placing the dimension text position relative to view origin.
- This is working fine for dimension that has curve as IntentOne or IntentTwo.
My issue is with Dimensions that have centerline as IntentOne and IntentTwo. I am not able to get the view name for Dimensions that are created using centerline.
Please share your idea on my approach and issue I am facing with dimension created using centerline.