• 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. how to change textblock

Stats

  • Replies 9
  • Subscribers 158
  • Views 16614
  • Members are here 0
More Content

how to change textblock

archive
archive over 17 years ago

Hello, I want to change a textblock number(not textblock params) by using skill languages. For example,the number of textblock changes from "1" to "2". How can i do? thanks, kenji


Originally posted in cdnusers.org by kenji
  • Sign in to reply
  • Cancel
  • archive
    archive over 17 years ago

    Hi Kenji

    The only way to do this is to delete then re-add the text.
    Here are some clues:
    txtOrient = make_axlTextOrientation(?textBlock "2", ?rotation txtObjId ->rotation ?mirrored txtObjId ->isMirrored, ?justify txtObjId ->justify)
    axlDBCreateText(txtObjId ->text, txtObjId -> xy, txtOrient, txtObjId ->layer, txtObjId ->parent)
    axlDeleteObject(txtObjId)

    Let me know if you need more help.

    Cheers, Dave


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

    Thnaks,Dave.
    I will try by the method.If it doesn't go well, it questions again.


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

    Hi Dave,

    I am using the "set_refdes.il" for geting the refdes location orientation and transfer it from one board to another. But i need to get the refdes text block information also and transfer it to another board. Can you please help me.

    Regards,
    Rajesh.


    Originally posted in cdnusers.org by rajesh
    set_refdes.il
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 17 years ago

    Hi Rajesh, Attached are two routines that I use to record and restore text blocks. Cheers, Dave


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

    Hi Dave,

    Thanks for your replay, can i please know the step by step procedure to extract and transfer the text block by using this il file.

    Regards,

    Rajesh


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