• 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. Adding text blocks

Stats

  • Replies 8
  • Subscribers 158
  • Views 16982
  • Members are here 0
More Content

Adding text blocks

archive
archive over 19 years ago

Does anyone know how to add new text blocks in Skill without calling a script? I am running an interactive command so calling a script is not an option.
axlSetParam doesn't allow me to add a text block although I can alter existing text block parameters this way (despite the documentation).


Originally posted in cdnusers.org by Dave Elder
  • Sign in to reply
  • Cancel
  • archive
    archive over 19 years ago

    Don't know if you can do it directly with Skill. But perhaps you can have your Skill function fprintf the script you need, execute the script using an axlShell call and then get rid of the script file.


    Originally posted in cdnusers.org by AshCan
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 19 years ago

    I'm looking for this function too~~~ 


    Originally posted in cdnusers.org by leonlee
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 19 years ago

    Thanks, That's what I do. However it doesn't work within an interactive function and I can't use "general" because I get too many crashes. I may have to revert to creating text by drawing lines. Ugly!


    Originally posted in cdnusers.org by Dave Elder
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 19 years ago

    I don't know if this will work in an interactive command but you might want to try,

    1. Export a plot file containing recognizable text
    2. Import the plot file scaled (this will create new text blocks)
    3. Find the recognizable text
    4. Get the text block number of the text
    5. Modify text block as needed

    Of course all of this needs to be done using scripts...


    Another way could be to use a script to change the text block and put a command to restart your interactive procedure. (The trick is finding a way to save your data from one instance of the command to the other using attachments)


    Originally posted in cdnusers.org by natebizu
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 19 years ago

    yes, we can add new textblock by inporting scaled plot file.
    But the max textblock number is 64.
    And, if you modify an existed textblock, you will destroy this kind textblock's text.


    Originally posted in cdnusers.org by leonlee
    • 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