• 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. Design Entry HDL SKILL function for adding component with...

Stats

  • Replies 2
  • Subscribers 160
  • Views 13593
  • Members are here 0
More Content

Design Entry HDL SKILL function for adding component with PTF attributes

VicT
VicT over 15 years ago

Hi to all,

Is anyone know how to use Design Entry SKILL function for adding component with part table attributes? I tried to add a component from component browser and I noticed the attributes were added by the "add :%Value" command (example below):

add <lib>resistor_0805
add :%Value:VALUE=100k
"<lib>resistor_0805.sym_2";

I tried to create a SKILL function with the following:

handle = (cnmpsImport)
load strcat(getShellEnvVar("CDSROOT") "/tools/fet/skill-01.00/context/cdscnCmnds.ini")
opts = cnSetRunOptions( ?result cnOUT_VERBOSE )
cmdstr = "add <lib>resistor_0805 add: %Value:VALUE=100k \"<lib>resistor_0805.sym_2\""
result = cnSendCommand(handle, cmdstr, ?runOptions opts)

No error on running the function and the component is associate with the mouse cursor. Symbol can be placed with version 2. But the VALUE attribute just cannot be inserted.

Appreciate for any help!!

Thanks,
Vic

  • Sign in to reply
  • Cancel
  • VicT
    VicT over 15 years ago

    I've get this done with:

    handle = (cnmpsImport)
    load strcat(getShellEnvVar("CDSROOT") "/tools/fet/skill-01.00/context/cdscnCmnds.ini")
    opts = cnSetRunOptions( ?result cnOUT_VERBOSE )
    cmdstr = "add <lib>resistor_0805.sym_2 \n add :%Value:VALUE=100k \n"
    result = cnSendCommand(handle, cmdstr, ?runOptions opts)

    Thanks anyway.
    Vic

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Khurana
    Khurana over 14 years ago

    Vic, thanks for sharing this - tried this and it works well.

    Have you ever looked into placing a part just by typing it's part_number property?

    • 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