Nothing in Virtuoso sets the hiGetCurrentWindow()~>markedNets flag. It's Ramakrishnan's code that is using that to record the current state - whether the bindkey is in mark or unmark mode. So you'd have to call Ramakrishnan's code. So put this in your .cdsinit : procedure(CCFtoggleMarkNet() if(hiGetCurrentWindow()~>markedNets then hiGetCurrentWindow()~>markedNets = nil leHiMarkNet() else hiGetCurrentWindow()~>markedNets = t leHiUnmarkNetAll() ) ) Then set your bindkey to CCFtoggleMarkNet() . Note, I didn't test this... Andrew.Image may be NSFW.
Clik here to view.
Clik here to view.
