Absolute geometry of PCell

edited October 2014 in Ruby Scripting
Is there a way to determine a PCell's absolute location in a layout so the PCell can use this information?

For example, I would like the text displayed in the display_text_impl method to show the x and y coordinates of that PCell. Then when I have multiple instances of that PCell, the names will include the location of each PCell like "name_100x-50y", "name_110x-65y", and so on.

Thanks in advance.
Brian

Comments

  • edited November -1

    Hi Brian,

    right now there isn't.

    The reason is the PCell layout caching: a PCell is not always recomputed - that was far too inefficient. Instead the layout is cached for a given parameter set. This does not change when the PCell is moved, so the layout cannot change depending on the position.

    But that is an interesting idea. Maybe there are more applications, i.e. a PCell changing the layout upon rotation.

    Matthias

Sign In or Register to comment.