• 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. Objects selected in schematic, but car(selectedSet()) returns...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 4587
  • 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

Objects selected in schematic, but car(selectedSet()) returns Nil

jasons
jasons over 14 years ago

I'm trying to write a SKILL script to take the selected pins belonging to an instance placed into a schematic and create corresponding pins at the schematic level.  Sounds straightforward, right?  But after selecting a couple of these things in the schematic, I try to use the old standby css() or car(selectedSet()), but then I get a return value of Nil.  I haven't found any way to access these things.  When I do an "edit properties" in the schematic editor, I see the property name "instance pins", but then can't use the "select by property" setting the property to "instance pins" to select the objects.  When I use schHiSelectAll, and then in the pop-up window select only "pin" under the category "Instance Objects", these objects finally do get selected -- but again, css() returns Nil, and thus I can find no way to work with them in my script.  Any thoughts or help would be greatly appreciated.  

  • Cancel
Parents
  • dmay
    dmay over 14 years ago

    selectedSet() works on the active window. Does hiGetCurrentWindow return the window id of the window containing the selection? It is possible that your Window manager (KDE/gnome) makes windows active as the cursor moves across the screen and it may be that the Cadence window containing the selection is no longer the active window.

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • dmay
    dmay over 14 years ago

    selectedSet() works on the active window. Does hiGetCurrentWindow return the window id of the window containing the selection? It is possible that your Window manager (KDE/gnome) makes windows active as the cursor moves across the screen and it may be that the Cadence window containing the selection is no longer the active window.

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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