Message 1 of 4
Accessing Iproperties without opening part

Not applicable
06-24-2010
07:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to create an add-in to take an assembly and export a top level BOM to excel that includes some custom properties. I am not really sure how to do this.
I have done the following
Occurrences = DocumentObject.ComponentDefinition.Occurrences
Dim oOcc As ComponentOccurrenceDim Occurrences As ComponentOccurrencesFor Each oOcc In Occurrences
MsgBox(oOcc.Name)
MsgBox(oOcc.ReferencedDocumentDescriptor.FullDocumentName)
Next
Which displays the name and full path of the files I want. I am not sure how to get from her to accessing the custom iproperties without opening each part. I don't want to open each component as it will use too much resources.
Any ideas on where to go from here would be greatly appreciated.