• 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. Allegro X Scripting - Skill
  3. Question for inserting dbid by typing on function

Stats

  • Replies 4
  • Subscribers 18
  • Views 9803
  • Members are here 0
More Content

Question for inserting dbid by typing on function

Rascal
Rascal over 7 years ago

Dear all engineers using skill language

I'm a beginner for this language, so maybe it will be a very simple question.

I hoped to use axlDeleteObject function.

axlSingleSelectPoint()

s = axlGetSelSet()

axlDeleteObject(s)

with this code, it works well but,

axlDeleteObject(dbid:394899204)

if I used fucntion like above, it didn't work with error message (E- *Error* eval: unbound variable - dbid)

so here is the main question, how can i convert string(or char) type to dbid type?

Thank you

  • Cancel
  • Sign in to reply
  • rajeshcad
    rajeshcad over 7 years ago

    It can't be converted. dbId is never the same in every session of tool. If someone is writing a program, its advisable to store the dbid in a variable and pass the variable.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Rascal
    Rascal over 7 years ago in reply to rajeshcad

    Thanks, I understand it can be changed whenever I use the tool, but in the same session, the part already placed dbId would not be changed and when I selected it, I could approach its dbId. 

    The point of my question is why this code  (axlDeleteObject(dbid:394899204)) can not be worked? 

    what is the o_dbid or lo_dbid format, and how can I make these?

     

    If I use printf function with list of part and it answers dbId:254233152 like this. Then It's not a dbId for that part?

    Thank you for your kindness 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 7 years ago in reply to Rascal

    Because dbId:254233152 is not a "thing" it's just a label. You can't use it because it's meaningless.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Rascal
    Rascal over 7 years ago in reply to eDave

    Appreciate it

    Now I fully understand 

    Thank you again!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

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