- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Basically, the PartsList (local to the drawing document) is refferencing the DrawingBOM (local to the drawing document), then the DrawingBOM is referencing the model's BOM (obviously local to the model document).
A model BOM row can contain 'child' rows, and therefore you can retrieve ComponentDefinitions (plural) from that row. Usually, if there are no child rows, the first item in this collection will be the one being represented by the row. You can then get the document object from that ComponentDefinition. That document can then be compared to the document being represented on each sheet's PartsList.
Here are the online help pages for those items in question.
PartsListRow.ReferencedRows Property
Wesley Crihfield
(Not an Autodesk Employee)