• 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. Interactive Form

Stats

  • State Verified Answer
  • Replies 2
  • Subscribers 20
  • Views 688
  • Members are here 0
More Content

Interactive Form

AA202603241137
AA202603241137 2 months ago

I am planning to create a script but this needs to have a form that is interactive.  The form changes depend on the number of layers in the PCB.  My idea to list all the layers of the PCB in the form and also have a checkbox beside each layer name.  But my knowledge on the form is basic only. I only use TEXT, GROUP, MENUBOTTON, STRFILLIN.  Can somebody guide or educate me.  Thank you.

  • Cancel
  • Sign in to reply
Parents
  • JuanCR
    +1 JuanCR 2 months ago

    Hi AA202603241137  Have you checked the form examples located in %CDSROOT%\share\pcb\examples\skill\form? Specially the one in the folder "basic", it has examples of many other fields that you can use for your own applications. 

    Now, if you need the form to change depending on the database you're using, I would recommend you create the form file within the SKILL code. That way you can create it dynamically. After all, it's a regular text file creation. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • AA202603241137
    0 AA202603241137 2 months ago in reply to JuanCR

    Hi Juan,  I manage to display the form that you mention in the example skill form folder.  And this gives me a different idea or approach of the script that I want to create.  I can create a 2 list box Left listbox and right list box.  The left will listed all the layers in the PCB and the user will only move or transfer the layer to the right, so that the script will apply the function intend on the layers listed on the right list box. Instead of creating a checkbox.  I done it before but i will just recall how i do it.  Thank you so much.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • AA202603241137
    0 AA202603241137 2 months ago in reply to JuanCR

    Hi Juan,  I manage to display the form that you mention in the example skill form folder.  And this gives me a different idea or approach of the script that I want to create.  I can create a 2 list box Left listbox and right list box.  The left will listed all the layers in the PCB and the user will only move or transfer the layer to the right, so that the script will apply the function intend on the layers listed on the right list box. Instead of creating a checkbox.  I done it before but i will just recall how i do it.  Thank you so much.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information