Message 1 of 3
Read all Properties from referenced drawings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello together,
whats the best and quickest way to iterate through a complete assembly and read all Part Number from all refenced drawings? I would like to compare the number from the part with number of the drawing and update it if it´s not correct.
For Each docFile In openDoc.AllReferencedDocuments
Dim oIProInEachRefDoc
oIProInEachRefDoc = docFile.PropertySets("Design Tracking Properties").Item("Part Number")
Dim oPartNo
oPartNo = oIProInEachRefDoc.Value
MessageBox.Show(oPartNo)
Next
Thank you Georg