Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: cadman777

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) :thumbs_up:.

If you want and have time, I would appreciate your Vote(s) for My IDEAS :light_bulb:or you can Explore My CONTRIBUTIONS

Wesley Crihfield

EESignature

(Not an Autodesk Employee)