AnsweredAssumed Answered

Find net name connected to a part

Question asked by markus.reich on Aug 6, 2013
Latest reply on Aug 6, 2013 by markus.reich

For analyses I want to find out which nets are connected to a specific part.

 

I tried following

ForEach cmpIn dxdApp.DesignComponents("", schName, -1, "STD", True)
  ForEach ConnIn cmp.GetConnections
    Set Net = Conn.Net
    Set CmpPin = Conn.CompPin
    If Not NetIsNothingThen
      If Not cmp.Refdes = ""Then
        Fileout.WriteLine (cmp.Refdes & "Net Attached to " & CmpPin.Pin.Label.TextString & Netzname)
      EndIf
    EndIf
  Next
Next

 

However I only get the Pin label and not the net name. What do I have to change?

Outcomes