• 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. Making a text string option in a list span 2 lines within...

Stats

  • Replies 3
  • Subscribers 160
  • Views 13921
  • Members are here 0
More Content

Making a text string option in a list span 2 lines within Cadence

LewisHook
LewisHook over 5 years ago

Looking for a little support on text strings.

I have a form already made conataining some 'default' notes to import onto drawings. The idea being, you choose which note you require, click on the note and it will be added to your design. This structure works fine as it is. However, one of these text string options is rather long, and I would like it to span 2 lines when imported into Cadence as a result of selecting it in this form.

Here is the line of SKILL:

POPUP,t_misc_line:XXXXX-X WITHOUT MARKING,THIS PCB IS TO BE MANUFACTURED IN ACCORDANCE WITH \015 SPECIFICATION XXXXXX - GENERAL REQUIREMENTS SPECIFICATION,ALL 0.XXMM HOLES TO BE RESIN FILLED AND FLAT PLATED OVER

After the colon, the three options are separated using a comma, forming the list of options that become available in the top window of the form created. The middle option (underlined) is the one I want to span 2 lines when brought through into Cadence.

I have read that using ‘\015’ (in red) is an escape sequence for carriage return, however when using this where it is now, it simply gets brought through and included as part of the text string, rather than splitting said text string over 2 lines.

Please can you offer any guidance on if this is possible and how to accomplish it?

Thanks in advance,

Lewis.

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 5 years ago

    Try using "\r"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • LewisHook
    LewisHook over 5 years ago in reply to eDave

    Thank you for your response. I gave this a try and it has the same effect, "\r" just appears within the text string

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 5 years ago in reply to LewisHook

    I was over-thinking it. \n should work.

    • 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