Message 1 of 2
Get Part/Assembly information from selected Drawing Curve

Not applicable
06-03-2011
05:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Everyone,
I'm currently working on a C#.NET Addin for Inventor 2011 that inserts a sketched symbol in a drawing, and automatically populates the symbol with relevant part information based on the drawing segment it is attached to. I've got the symbol insertion working just fine, and I'm pretty sure that the best way to get to the part information I need is to use the DrawingCurve.ModelGeometry property. Unfortunately, it returns a generic Object and I have no idea what to cast it into so that I can work with it. Can anyone give me a little information on how to handle this? Any alternative suggestions for getting the part information would be great too.
Thanks,
John