• 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. Modify a file.osm

Stats

  • Replies 6
  • Subscribers 159
  • Views 14868
  • Members are here 0
More Content

Modify a file.osm

Yann00
Yann00 over 12 years ago

Hi guys,

I wanna modify a file.osm which contains my board outline. (see attachment).

I wanna open the file.osm and then get the text (see the attachment) to modify it. (Maybe a batch method...)

When I modify the file.osm I can save the new.osm

Do you have any idea to do that?

Best regards

 

Board Outline.pdf
  • Sign in to reply
  • Cancel
  • eDave
    eDave over 12 years ago

    I wouldn't do it that way. I would either put a property on each of the text items that you want to change and then change the text from the board once the symbol is placed or use descriptive placeholders instead of xxxxx and, again, change them once placed. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Yann00
    Yann00 over 12 years ago

    Oh you always answer me Dave, again thank you very much.

    In fact The user open a file User.txt and write into the text which he wants to place. (See attachment).

    And after that, my border outline filled. I write in an existant file.osm. So I already place the symbol "border outline". Basically I already re-center it. What kind of function could modify the text property? 

    I have to automatize that in my SKILL code. 

     

    • User.txt
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 12 years ago

    Try using axlDBChangeText (16.6). Finding the right text to change is the hardest part.

    I now remember that you can't attach a property to text so you will have to use another method. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Yann00
    Yann00 over 12 years ago

    Yeah I used the twin of this function (axlDBCreateSymbol)

    I give my SKILL code. I just can't open my file.dra

    In the Cadence CMD it's right but in my SKILL code it didn't work.

    How I can do please? It wanna 3 argument, but this function give us only 2 arguments.

    Write_Cartouche2.il
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Yann00
    Yann00 over 12 years ago
    I give you my User.txt too
    • User_OK.txt
    • View
    • Hide
    • 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