spydrnet.Wire.index

Wire.index()[source]

if this wire is in a cable, returns the index number of the wire in the parent cable