Im looking for such a script which renames an inport or outport to the signal name. The problem is that a port has no direct property which tells the name connected line.
I tried to branch from one parent port to the next untill I find the signal creator but encountered some problems with this...