bBox

Discussion in 'Cadence' started by PolyPusher, Jan 5, 2010.

  1. PolyPusher

    PolyPusher Guest

    All,

    Is there a way(this is for layout, probably doesn't matter) to write
    code that performs bBox, but have it ignore the "text" outside the
    box.

    dataExtent=cv~>bBox with "ignore" Text.

    Thank you in advance,
    PolyPusher
     
    PolyPusher, Jan 5, 2010
    #1
  2. PolyPusher wrote, on 01/05/10 18:07:
    Hi PolyPusher,

    There is dbComputeBBoxNoNLP() - but that only excludes NLP labels.

    Other than that, you have to compute it yourself, I'm afraid, by looking at the
    bBox of all the instances, shapes etc in the cellView, and omitting the labels...

    Regards,

    Andrew.
     
    Andrew Beckett, Jan 6, 2010
    #2
  3. PolyPusher

    PolyPusher Guest

    Andrew,

    What does NLP stand for ;)

    Can you give me a leg up on how I would compute all instances, etc
    minus the Text. I know you have your own job but I don't know how I
    would do that.

    Thank you in Advance,
    PolyPusher
     
    PolyPusher, Jan 7, 2010
    #3
  4. PolyPusher wrote, on 01/07/10 03:06:
    ..>
    Hi PolyPusher,

    Sorry - hadn't had a chance to reply properly (been a tad busy the last few days
    and have been travelling, or at least trying to travel...)

    NLP stands for NetList Parameter (or something like that - I forget).
    Essentially NLPlabels are a type of label which are evaluated, and follow NLP
    syntax. You see these on sheets and symbols, and have things like [@partName] or
    [@cellName]. Because they're evaluated, it makes little sense to include the
    actual definition of the label in a bounding box - the evaluation may be much
    shorter.

    So really that function is not generic enough.

    I'll review your code in your later post, and let you know...

    Regards,

    Andrew.
     
    Andrew Beckett, Jan 13, 2010
    #4
  5. PolyPusher

    PolyPusher Guest

    Andrew,

    I appreciate your help. Did you have time to look at my code? It
    doesn't have to be perfectly written but it does need to function
    perfectly.

    Thank you for all you do here,
    Eric
     
    PolyPusher, Jan 18, 2010
    #5
  6. PolyPusher wrote, on 01/18/10 13:42:
    Hi Eric,

    Not got to it yet - on my list for tomorrow - just about to call it a day for
    today.

    Andrew.
     
    Andrew Beckett, Jan 18, 2010
    #6
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.