Home
  • Products
  • Solutions
  • Support
  • Company

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  • Products
  • Solutions
  • Support
  • Company
Community PCB Design & IC Packaging (Allegro X) PCB Design Text variables

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 166
  • Views 12541
  • Members are here 0
More Content
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

Text variables

GForte
GForte over 3 years ago

Hello, I was wondering how can I create variable fields in the layout.

To start, I have a template for some type of designs, and I would like that one of the texts on the silkscreen changes accordingly to an external variable, like the folder name, or a text file in the same folder.

I was thinking something similar to a page frame that changes the date automatically. How can I generate that type of fields?

  • Cancel
  • RFinley
    RFinley over 3 years ago

    In Support.Cadence.Com, there is a skill utility that appears to be a good starting point.

    "SKILL code to add a few useful text variables like date/time, and last modified date/time to the board file"

    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O0V000009Mq2DUAS&pageName=ArticleContent

    This utility will add the text for the following:

    • Number of pads in the design                                   
    • Filename and location                                      
    • Date and time                                              
    • Last modified date and time                                
    • Scale factor for print                                                        

    Using this SKILL utility, once the text variables are placed in the board file, the subsequent add_text run would automatically update the variable values if they have changed.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • GForte
    GForte over 3 years ago in reply to RFinley

    Many thanks RFinley, I was looking something more automated like the date fields on Schematic Capture frame object, that refreshes everytime you open it or save the file.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFinley
    RFinley over 3 years ago in reply to GForte

    I don't know how long it will take for Cadence to implement this through a feature request.

    Need to find a SKILL event trigger for saving the board file.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • DavidJHutchins
    DavidJHutchins over 3 years ago

    try

    axlTriggerSet('save 'add_text)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • excellon1
    excellon1 over 3 years ago in reply to RFinley

    That's a very handy utility & a time saver.

    Thanks for the info RF.

    • Cancel
    • Vote Up 0 Vote Down
    • 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