Hello,
I loop over all pinrefs:
schematic(SCH)
{
SCH.sheets(SH)
{
SH.nets(N)
{
N.segments(SEG)
{
SEG.pinrefs(P)
{
P.part.name
Now I need all parts, that are connected to this pinref.
With P.part.name I get the part of the pinref.
But I need also all other parts who a are connected with a wire or bus.
Thank you!