This content has been marked as final. Show 1 reply
I found something out on my own, pls. see VBA code below:
'# We try to get Pin Direction '# (Pin = in, out, bi, ...) Dim numOfAttributes As Integer numOfAttributes = Con.CompPin.Pin.Attributes.Count Dim j As Integer For j = 1 To numOfAttributes Dim pinAttrib As ViewDraw.Attribute Set pinAttrib = Con.CompPin.Pin.Attributes.Item(j) Debug.Print "attributeName: " & pinAttrib.name & " --> Value: " & pinAttrib.Value Next
This code gave me what I was looking for. Working via "FindAttribute" was'nt successful so far, any Ideas, how to accomplish this ?