• 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 4592
  • 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
  • mbracht
    mbracht over 7 years ago

    I believe those "dots" around an instance in a schematic are actually markers - markers that are child objects of the instance...inst~>children returns them. However clicking on them hilights but doesn't select them...I don't know whether there's any way to do that in a schematic editor - I'am not a schematic editor specialist though. You could select them in SKILL of course:

    (geSelectFigs (setof child inst~>children child~>objType=="marker"))

    I have used the setof function because I'am not sure whether an instance may have any other kind of (non marker) child objects

    The pin related information can be found in the marker's msg attribute.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • mbracht
    mbracht over 7 years ago

    I believe those "dots" around an instance in a schematic are actually markers - markers that are child objects of the instance...inst~>children returns them. However clicking on them hilights but doesn't select them...I don't know whether there's any way to do that in a schematic editor - I'am not a schematic editor specialist though. You could select them in SKILL of course:

    (geSelectFigs (setof child inst~>children child~>objType=="marker"))

    I have used the setof function because I'am not sure whether an instance may have any other kind of (non marker) child objects

    The pin related information can be found in the marker's msg attribute.

    • 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