I am trying to find all the pin number textblocks and change the textblock to a specific number.
When I have a symbol selected, I can see each pin, but there is no textBlock property on the pins.
If I use one of the select functions and select the pin text, it's parent is a pin.
What's the correct way to get the textBlock of a specific pin on a symbol?
Here's some code I've tried:
When using skill to manually select a pin number (text as the search filter):
axlSetFindFilter(?enabled list("noall", "text") ?onButtons list("noall", "text"))
axlSingleSelectPoint()
; Manually Select Pin Number
pn = car(axlGetSelSet())
pn->objType
OUTPUT
"text"
pn->?
OUTPUT
(parentGroups justify isMirrored objType parent
rotation mirrorType textBlock text xy
readOnly bBox layer prop
)
pn->parent->objType
OUTPUT
"pin"
pn->parent->?
(fixedByTestPoint parentGroups pads definition parent
relRotation relxy rotation mirrorType startEnd
readOnly prop functionPins component testPoint
isThrough isMirrored isMech isExploded branch
net bBox xy number name
objType use bondpad
)
------------------------------
What I'd expect from the last output would be some way to access the "text" object on the pin