• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Skill code for finding coordinates of selected instances...

Stats

  • Locked Locked
  • Replies 18
  • Subscribers 148
  • Views 29913
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Skill code for finding coordinates of selected instances in the layout

Vignesh054
Vignesh054 over 17 years ago

 Hi,

 I need a skill script to find the co-ordinates of all selected instances in the layout?

Can anyone help me on this?

Thanks,

Vignesh T K 

 

  • Cancel
  • ManuNarayan
    ManuNarayan over 14 years ago

    can u please guide me in the regards,

    Place multiple instances in layout editor window with co-ordinates as specified in the text file and check if the layout is on grid.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 14 years ago

     Rather than bury this as a sub topic, why don't you ask it as a new topic.

     You will have to open the file and parse its format. fscanf can do that depending on the format. See the command in help documentation.

    The command to place instances is dbCreateInst.

     Depending on what you mean by checking if the layout is on grid, you may be better off using a DRC checker as there may be a lot of data to process. If it the concern is only the instance placement, snap it to grid before placing the instance.

     Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Arjun,

    You asked the same question 4 times (two new posts in two forums, and adding to two existing threads). That will simply annoy people and not get you an answer any quicker. Please do not do that.

    I'll merge your posts together to avoid confusion.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Muralidhar
    Muralidhar over 9 years ago

    Hi Andrew,  

    Can u please tell me how to change the coordinates or bBox of the device using skill

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I'm not sure why you are asking me (since I had nothing to do with the original thread other than making a moderator comment), who "u" is (it's not a word in the English language), or why you're posting on a thread that is over 7 years old. Please read the forum guidelines.

    I assume you just want to know how to do:

    instId~>xy=newCoord

    Kindest Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Rather suspiciously I had a rather similar question in a friendship request (I don't normally accept friendship requests from people I don't know or people I haven't asked to do this when they can ask the same question in the open forums):

    Friendship request: munna sk

    Hi

    Sorry for this personal message. I don't know how to put a question so that's why I put here

    I want to know how to change the bbox of the instance.  I tried

    Instance~>bbox=new bbox values

    But it gives result as nil

    Can u please tell me how to change the bbox of the instance

     

    Learn more about munna sk.

    The simple answer is, you can't. The bBox is defined by the bounding box of the shapes/instances etc within the cellView that has been instantiated, offset by whatever the origin of the placed instance is. You can set Instance~>xy and then the bBox will shift to around the new origin.

    It would make no sense to be able to set the bBox.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • honeybee
    honeybee over 9 years ago

    Why I am asking is I need to flip all the devices which are selected. But at the time I am able to flip the devices but the coordinates are changed but I am unable to change the device placement to the previous coordinates. I am unable to do this with instance~>xy command because I observe that two different positions has same xy coordinates. How can I move the device to previous place.. Can u help me..?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    In that case you need to set the ~>orient (or maybe ~>transform) attribute of the instance, or use dbMoveFig() to move with a transformation. Take a look at this post: for some code that shows how to do flipping easily.

    I don't know what "u" is unless you were murdering the English language and meant "you". There's no tax on characters in this forum so please write properly rather than using instant messaging shorthand. For an Englishman this is rather jarring...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
<

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information