• 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. converting a text to a shape

Stats

  • State Verified Answer
  • Replies 5
  • Subscribers 161
  • Views 3508
  • Members are here 0
More Content

converting a text to a shape

masamasa
masamasa 11 months ago

hello

 

is there a way to convert a text to a shape?

 

regards

masa

  • Sign in to reply
  • Cancel
  • jc teyssier
    0 jc teyssier 11 months ago

    Not directly.

    I will use Manufacture->Drafting->Create Detail

    This create lines

    Then this to obtain a shape:

    community.cadence.com/.../ceonverting-a-cline-to-a-shape

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DavidJHutchins
    +1 DavidJHutchins 11 months ago in reply to jc teyssier

    The documentation for the axlText2Lines function has the following example code ( which I slightly modified )

    text = ashOne("TEXT")
    lines = axlText2Lines(text)
    layer = text->layer

    ; flatten list
    flattened = foreach( mapcan x lines x)
    foreach(path flattened
       ; may return multiple polys
       polys = axlPolyFromDB(path ?endCapType 'ROUND ?line2poly t)
       ; create shapes in database
       foreach(poly polys

         i = axlDBCreateShape(poly t layer nil nil)

      )
    )

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • masamasa
    0 masamasa 11 months ago in reply to DavidJHutchins

    thank u, david as always.

    i get this error message

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DavidJHutchins
    +1 DavidJHutchins 11 months ago in reply to masamasa

    copy <installdir>//share/pcb/examples/skill/ash-fxf/ashone.il locally & then load it into Allegro or APD

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • masamasa
    0 masamasa 11 months ago in reply to DavidJHutchins

    thank u so much, david.

     

    i was able to convert it.

     

    regards

    masa

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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