08-06-2021
06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-06-2021
06:37 AM
Here's the step you're missing.
create a document variable, then assign the first component definition's document (from that BOMRow) to it
Then you can access the usual PropertySets.PropertySet.Property.Value as normal from that document.
Dim oBOMRow As BOMRow '= whatever
If oBOMRow.ComponentDefinitions.Count > 0 Then
Dim oRowDoc As Document = oBOMRow.ComponentDefinitions.Item(1).Document
Dim oStockNum As String = oRowDoc.PropertySets.Item("Design Tracking Properties").Item("Stock Number").Value
End If
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS)
.
If you want and have time, I would appreciate your Vote(s) for My IDEAS
or you can Explore My CONTRIBUTIONS
Wesley Crihfield
(Not an Autodesk Employee)