• 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. Questions about object selection in layout

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 16256
  • 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

Questions about object selection in layout

MarkNing
MarkNing over 8 years ago

Hi All,

I'm new to SKILL and I would like to move some objects (or shapes) in layout cellview by SKILL automatically. I have got all the points inside each object (or shape). I use foreach(point points geAddSelectPoint(winId nil point) obj=car(geGetSelectedSet()) dbMoveFig(obj nil list(x:y "R0" 1.0)))  loop function in order to select each object and move it. Sometimes all the points can be recognized and all the objects can be moved accordingly. But, often times, a few points can not be recognized (these points were ignored by the SKILL procedure) and the corresponding objects (or shapes) can not be selected and moved.  It seems it is related to the cellview update. I didn't know what happened. Can anyone help me? 

I'm using the IC6.1.5.

Thanks for your help.
Best Regards,

Mark

  • Cancel
  • skillUser
    skillUser over 8 years ago
    Hi Mark,

    You don't need to select an object to move it, the figure id (the "d_fig" argument to dbMoveFig()) is sufficient, so it is likely that the selection is the issue. You could try using gePointToFig() to get the id of a shape at coordinates without selecting it, also the function geGetPotentialSelection() might be useful. You might have several selectable objects at a particular point, and so you may need to investigate if this is the case and adjust your code accordingly (functions like dbGetOverlaps() and dbProduceOverlap() can be handy to get a list of objects under a point or within a bBox). The 'selection filter' can impact some of the selection functions, so take a look at functions like geSelectFigNoFilter() to see if they might help. If figures are within a figGroup that could also impact selection, so maybe look into that also.

    Hopefully this might help you?

    Best regards,

    Lawrence.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MarkNing
    MarkNing over 8 years ago
    Hi Lawrence,
    Thank you Lawrence!
    The gePointToFig() did solve my problems perfectly! But i still wonder why the geAddSelectPoint() and geGetSelectedSet() cannot get the target object(sometimes)? The coordinates pointed to geAddSelectPoint() was indeed inside the flattened object(or shape). I'm puzzled.
    Anyway, thanks for your help!

    Mark
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Mark,

    This would probably be easy enough to figure out if we can see the data. Could you contact customer support?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MarkNing
    MarkNing over 8 years ago
    Hi Andrew,
    Thanks for your advice, i will contact customer support later.
    Thanks!
    Regards,
    Mark
    • 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