Lawrence's suggestion does reset the color and line style overrides on the wire (i.e. it removes the info in the database with the override) provided that the color and line style match the info for the packet used for the wire. So strictly speaking you should do: packetName=techGetLPPacketName(techGetLP(tf list("wire" "drawing"))) defaultLineStyle=nth(3 drGetPacket("display" packetName)) defaultColor=nth(5 drGetPacket("display" packetName)) Then in Lawrence's code you could do: schSetWireColor(obj defaultColor) schSetWireLineStyle(obj defaultLineStyle) Regards, Andrew.
↧