Question on highlighting nets

Discussion in 'Cadence' started by SS, Nov 15, 2008.

  1. SS

    SS Guest

    I have a procedure to highlight a particular net each time I call it.
    Everytime I call the procedure I just want all the shapes in that
    particular net to be highlighted.

    All other previously highlighted nets should be unhighlighted. However
    this does'nt happen.

    All previously highlighted nets are not unhighlighted ? Why is this ?

    Thanks,
    SS



    procedure(highLiteNet(cv netname lpp)
    let((net hlSetId)
    hlSetId=geCreateHilightSet(cv lpp)
    hlSetId->enable = nil
    net = dbFindNetByName(cv netname)
    foreach(fig net~>figs geAddHilightFig(hlSetId fig))
    hlSetId->enable = nil
    );let
    );proc
     
    SS, Nov 15, 2008
    #1
  2. SS

    Joel Guest


    You have to remove the old highlights. For example, add the following
    to the beginning of your procedure to clear any existing highlight
    sets before creating a new one.

    geDeleteAllHilightSet(cv)
     
    Joel, Nov 17, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.