Skill Q: Getting the parent cellview whiel editing in place

Discussion in 'Cadence' started by suresh j, Sep 27, 2003.

  1. suresh j

    suresh j Guest

    Hi,
    In skill, we can get the topCellView by,
    topCV = hiGetCurrentWindow()->topCellView

    But how to get the cellview id of the cellview that we would go to when
    we do geReturn(), ie just one level above.

    Thanks in advance.

    regards,
    Suresh J
     
    suresh j, Sep 27, 2003
    #1
  2. Suresh,

    One way (may be others) is to use the return value of
    geGetHierMemInst() - this is a list of instance objects
    describing how you got here - from each of these you can
    look at the ~>cellView attribute to see what cellView they were
    in.

    Andrew.
     
    Andrew Beckett, Sep 27, 2003
    #2
  3. suresh j

    suresh j Guest

    Andrew,
    I am doing something like this to get the parent cellview,
    caar(last(geGetHierMemInst()))->cellView

    I am happy.
    Thanks.
     
    suresh j, Sep 27, 2003
    #3
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.