How to convert top level bBox into a instance bBox ?

Discussion in 'Cadence' started by Charley, Aug 24, 2010.

  1. Charley

    Charley Guest

    Dear All,

    I have a shape which is over a instance , the shape's bBox is apply
    to level 0 coordinate ,i.e (5.075:3.16 5.335:3.52),
    I want the bBox converts into the instance's coordinate . It's
    similar to Edit-In-Place , But the instance is Read-Only .
    ;; Convert bBox from Top to Bottom

    How to do it ?

    Thank you,
    Charley
     
    Charley, Aug 24, 2010
    #1
  2. Charley

    Loz Davis Guest

    You can use the geTransformUserBBox() function, supply the bounding
    box as the first
    argument and the "transform" as the second, this can be obtained from
    the instance -
    for example, if the instance is selected, you can do:
    car(geGetSelectedSet())~>transform

    so all together it would be:

    geTransformUserBBox(list(5.075:3.16 5.335:3.52)
    car(geGetSelectedSet())~>transform)
    => some_new_bbox
     
    Loz Davis, Aug 27, 2010
    #2
  3. Charley

    Charley Guest


    Dear Davis,

    ==> some_new_bbox is not what I want , when I open the instance , the
    some_new_bbox is not same as in the location.
    I want is like push some_new_bbox into the instance ,
    e.g. I draw a rectangle shape(On level 0) over the instance (On
    Level 1), I don't need to open the instance in another cellview ,
    Just liker using Edit-In-Place, the some_new_bbox is transformed
    inside the instance.
    When I open the instance , using the some_new_bbox to draw a rectangle
    shape .

    Thank you,
    Charley
     
    Charley, Aug 31, 2010
    #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.