In drawing, retrieve iProperties from assembly on click

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In a drawing, I'd like to have a user click a button which will signify the start of my function, then have them click on an assembly. I'd like my function to then retrieve the iProperties of the assembly they clicked on. Currently, I'm only able to retrieve the subdetail iProperties(which I do not want). Does anyone have suggestions that could get me started?
I haven't determined if this is a problem yet, but I have to anticipate that some user will set level of detail, so I won't have access to the structured view of the BOM.
The end goal is that a user will click a custom sketched symbol button(done), click an assembly(not done) and read the iProps(not done), click a second point for where to insert the symbol(done), and write any and all iproperty info to a spreadsheet(done).
Any help would be appreciated.