• 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. Extract Value from linear dimension show Element .

Stats

  • Replies 4
  • Subscribers 159
  • Views 13713
  • Members are here 0
More Content

Extract Value from linear dimension show Element .

ENEGUE
ENEGUE over 5 years ago

Hello,

Anyone know how to get the two coordinate as highlighted in skill?

Thanks,

Eugene

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

    I just threw this together:

    procedure(dim_txt()
    let(()
    axlClearSelSet()
    axlSetFindFilter( ?enabled list("noall" "symbols") ?onButtons list("noall" "symbols"))
    axlSingleSelectPoint()
    when(nindex(car(axlGetSelSet())->name "DIMENSION")
    foreach(obj (car(axlGetSelSet())->children)
    when(obj->objType == "text"
    axlMsgPut("text %s" obj->text)
    )
    )
    )
    )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ENEGUE
    ENEGUE over 5 years ago in reply to DavidJHutchins

    Hi David,

    I not only need the distance but also two coordinate points for the distance.

    Any idea?

    Eugene 

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

    I think the simplest way of getting that data is to use axlShowObjectToFile() to write the data to a ascii file, then parse the file for the coordinate data,

    which I think is easier that attempting to figure out the database pointers from the dimension to the geometry objects

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ENEGUE
    ENEGUE over 5 years ago in reply to DavidJHutchins

    David, thanks for your input..=)

    Eugene

    • 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