Can't be edited on DxDesigner, because Pin Name is the property which the symbol has.
By setting my selection filter to Property, I am able to select this pin text and change the font color and size manually:
This is a zoomed in shot of the same pins. This isn't changing the symbol in the library, just the local design instance. I think I was unclear in my first message, I am trying to programatically change the font size of a property of a pin on a symbol. But I can't find how to access that property.
I think that the property is a user property.
If a property that can be selected, Automation can get it.
Please select a symbol and run the following code.
Automation will get the size and the color of property "PIN_ID".
For Each cmp In dxdView.Query(VDM_COMP, VD_SELECTED)
temp = "REFDES=" & cmp.Refdes & vbCrLf
For Each conect In cmp.GetConnections
Set cPin = conect.CompPin
If Not cPin Is Nothing Then
Set attr = cPin.FindAttribute("PIN_ID")
If Not attr Is Nothing Then
temp = temp & "[" & cPin.Number & "]" & vbCrLf & _
" Size=" & attr.size & vbCrLf & _
" ColorR=" & attr.GetObjectColor.r & vbCrLf & _
" ColorG=" & attr.GetObjectColor.g & vbCrLf & _
" ColorB=" & attr.GetObjectColor.b & vbCrLf
That's it! Thank you.