Home
  • Products
  • Solutions
  • Support
  • Company

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  • Products
  • Solutions
  • Support
  • Company
Community RAVEL DRC Programming for IC Packaging and… How to check the <NAME> of a line?

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 23
  • Views 3993
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to check the <NAME> of a line?

Rian
Rian over 9 years ago

How do I check the < NAME > name of line?  Is there a line_refdes like component_refdes? Something like:

(define PlatingTrace
    (select (mPlatingTrace) line
       (ZZZZZZ_refdes? mPlatingTrace "HORIZONTAL LINE SEGMENT"))

       (layer? mPlatingTrace "SUBSTRATE GEOMETRY/UNITBOT_PLTG_PU")
)

THANKS, RIAN

  • Cancel
Parents
  • Bjoern L
    Bjoern L over 9 years ago

    Hi Rian,

    that is not a name, but rather a description. A segment can be described as horizontal, vertical, odd-angle or arc. In Ravel, you can find if a segment is horizontal by seeing if it is parallel to a horizontal unit vector:

    (axis_angle segment (CREATE_VECTOR 1 0)) < 1.0

    In my previous post I forgot to mention that CREATE_VECTOR is a macro in standard/geometry in Ravel Standard Library. To create a vector without using the standard library, you would do:

    (connecting_line (create_point 0 0) (create_point 1 0))

    Regards,

    Björn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Bjoern L
    Bjoern L over 9 years ago

    Hi Rian,

    that is not a name, but rather a description. A segment can be described as horizontal, vertical, odd-angle or arc. In Ravel, you can find if a segment is horizontal by seeing if it is parallel to a horizontal unit vector:

    (axis_angle segment (CREATE_VECTOR 1 0)) < 1.0

    In my previous post I forgot to mention that CREATE_VECTOR is a macro in standard/geometry in Ravel Standard Library. To create a vector without using the standard library, you would do:

    (connecting_line (create_point 0 0) (create_point 1 0))

    Regards,

    Björn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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