bBox

P

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 wrote, on 01/05/10 18:07:
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
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.
 
On Jan 6, 10:38 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
PolyPusher wrote, on 01/05/10 18:07:

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

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,

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 wrote, on 01/07/10 03:06:
..>
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
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.
 
On Jan 13, 4:35 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
PolyPusher wrote, on 01/07/10 03:06:
.

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

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,

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 wrote, on 01/18/10 13:42:
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
Hi Eric,

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

Andrew.

--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
 

Welcome to EDABoard.com

Sponsor

Back
Top