• 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 PCB Editor
  3. adding components through a cnSKILL function

Stats

  • Replies 2
  • Subscribers 158
  • Views 12641
  • Members are here 0
More Content

adding components through a cnSKILL function

archive
archive over 17 years ago

Hi Experts,

I want to place my components in ConceptHDL schematic editor automatically. For that I have a 2 line cnSkill code which looks like this

procedure( addComp()
 cnSendCommand(handle, "add resistor.sym_1")
 cnSendCommand(handle, "add capasitor.sym_1")
)

When I run the function I can place only the one component (attached to my mouse). Why my second command is not executing - Am I missing something?

Regards,
Saad.


Originally posted in cdnusers.org by Saad
  • Sign in to reply
  • Cancel
  • archive
    archive over 17 years ago

    the first thing everybody will warn about your question is the "s" in capacitor instead of a "c".

    Sorry if it is not this....


    Originally posted in cdnusers.org by willbi
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Thanks Willbi for pointing out the typo.
    The actual code has "c" not s.
    Any other idea what could be the reason?


    Originally posted in cdnusers.org by Saad
    • 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