Message 1 of 5

Not applicable
01-11-2018
04:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I would like read by VBA the "Part number" property in Assembly Files ("*.iam" files) in my project, but I can't find object, which give me
access to this property.
So far I know how to read the "Part number" in root of my project ("*.idw" file) :
Dim invDoc As Document
Set invDoc = ThisApplication.ActiveDocument
Dim invDesignInfo As PropertySet Set invDesignInfo = invDoc.PropertySets.Item("Design Tracking Properties") Dim invPartNumberProperty As Property Set invPartNumberProperty = invDesignInfo.Item("Part Number") MsgBox "The part number is: " & invPartNumberProperty.Value
Best regards,
Marek
Solved! Go to Solution.