CommunityForums PCB Design PCB Design Text variables

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 163
  • Views 1845
  • 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 5 months 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 5 months 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
    • Up 0 Down
    • Cancel
  • GForte
    GForte 5 months 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
    • Up 0 Down
    • Cancel
  • RFinley
    RFinley 5 months 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
    • Up 0 Down
    • Cancel
  • DavidJHutchins
    DavidJHutchins 5 months ago

    try

    axlTriggerSet('save 'add_text)

    • Cancel
    • Up 0 Down
    • Cancel
  • excellon1
    excellon1 5 months ago in reply to RFinley

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

    Thanks for the info RF.

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