• 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. need help with three skill commands...please!

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 144
  • Views 15704
  • 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

need help with three skill commands...please!

boomme
boomme over 10 years ago

I have what I  3   questions.

question 1...

for the skill command...    dbSetShapeColorLocked(d_shapeID    g_setLocked)

what are the values for the variable g_SetLocked ?

(I am trying to unlock the shape's colors so I can make a hotkey toggle to switch colors.)

question 2...

what is the skill command to highlight a single shape?

question 3...

I am trying to use the following common: dbIsShapeColorLocked(obj)

where obj is a shape ID... as in: 

sel = geGetSelSet()

foreach(obj sel

if(dbIsShapeColorLocked(obj) == "t" 

...

the dbIsShapeColorLocked command does not seem to be returning "t" or "nil" but rather a database ID like:

db:0x7838b470

any idea why?

Thanks for any and all help!

-T

  • Cancel
Parents
  • theopaone
    theopaone over 10 years ago

    Thanks Andrew.

    I don't use finder very much because of the limited amount of help available, I may use it to get a listing of potential commands -> geHi* and then look in cdnshelp for more detail.

    I forgot about enabling the hilight set, I have encapsulated the hilight commands so I can highlight an object and it will create the hilight set without an explicit call.

    The enable action is hilightId->enable = t

    If you create a non global set you have to push the hilight set with gePushHilightStack(hilightId)


    Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • theopaone
    theopaone over 10 years ago

    Thanks Andrew.

    I don't use finder very much because of the limited amount of help available, I may use it to get a listing of potential commands -> geHi* and then look in cdnshelp for more detail.

    I forgot about enabling the hilight set, I have encapsulated the hilight commands so I can highlight an object and it will create the hilight set without an explicit call.

    The enable action is hilightId->enable = t

    If you create a non global set you have to push the hilight set with gePushHilightStack(hilightId)


    Ted

    • 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