Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5210

flipping of instance

$
0
0

 Hi,

I want to Flip my instance .I have developed the code as below .It is flipping the instance but the coordinates of instance getting changed.Can anybody say what is the problem in the code.

 procedure(fliphorizontal()

foreach(obj geGetSelectedSet() 

  Cur_orient=obj~>orient

  Cur_center=obj~>xy

case(Cur_orient

   ("R0"   Cur_orient="R180") 

  ("R180"   Cur_orient="R0")  )

obj~>orient=Cur_orient

obj~>xy=Cur_center))

hiSetBindKey("Layout" "alt<key>h" "fliphorizontal()")


Viewing all articles
Browse latest Browse all 5210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>