By default, accessing ICustomPropertyManager from Feature won't allow me to specify configuration name:
Code: Select all
Set swCustPropMgr = selectedFeature.CustomPropertyManager(activeConfig.Name)
swCustPropMgr.Add3 "SW-Part Number", swCustomInfoText, number, swCustomPropertyReplaceValue
So instead I tried to access ICustomPropertyManager from config cut list items:
Code: Select all
vcutlistItems = activeConfig.GetCutListItems()
For Each vcutlistItem In vcutlistItems
Set swCustPropMgr = selectedItem.CustomPropertyManager()
swCustPropMgr.Add3 "SW-Part Number", swCustomInfoText, number, swCustomPropertyReplaceValue
Next
So what is the correct way to create a configuration-specific cut-list property via API?