• 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 Scripting - Skill
  3. Coordinates of the ends of a CLine in SKILL

Stats

  • State Suggested Answer
  • Replies 1
  • Answers 1
  • Subscribers 18
  • Views 3002
  • Members are here 0
More Content

Coordinates of the ends of a CLine in SKILL

JuriV
JuriV over 2 years ago

Hello everybody,

I want to determine a coordinates of the ends of CLine in SKILL.
For example it could be done using branches and children attributes, but this is to bulky.

net_dbids = axlDBGetDesign()->nets
xy_List1 = net_dbids~>branches~>children~>xy

Probably there is a better and easier way to do that?

Thanks

JuriV

  • Cancel
  • Sign in to reply
  • DavidJHutchins
    0 DavidJHutchins over 2 years ago

    You can get the start & endpoints from the startEnd record as shown in the jrl entries below:

    \i (00:10:01) skill Child=car(axlGetSelSet())
       (00:10:01) dbid:000000254A1A96D8

    \i (00:10:10) skill Child->objType
       (00:10:10) "path"
    \i (00:10:22) skill '(xy1 = car((car((Child->segments))->startEnd)))'
       (00:10:22) (5745.0 1835.0)
    \i (00:10:33) skill '(xy2 = cadr((car(reverse((Child->segments)))->startEnd)))'
       (00:10:33) (5712.75 453.25)

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