EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

How to convert top level bBox into a instance bBox ?

elektroda.net NewsGroups Forum Index - Cadence - How to convert top level bBox into a instance bBox ?

Charley
Guest

Tue Aug 24, 2010 12:54 pm   



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

Loz Davis
Guest

Fri Aug 27, 2010 6:54 pm   



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

Charley
Guest

Tue Aug 31, 2010 2:30 am   



On 8月27日, 下午11時54分, Loz Davis <lozmda...@gmail.com> wrote:
Quote:
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


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

elektroda.net NewsGroups Forum Index - Cadence - How to convert top level bBox into a instance bBox ?

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony