• 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. Finding the width of a thermal cline

Stats

  • Replies 2
  • Subscribers 158
  • Views 12935
  • Members are here 0
More Content

Finding the width of a thermal cline

Geoff
Geoff over 9 years ago

I am trying to get the width of thermal clines on a pin, but no success.

Here is what I am doing.

connections=axlDBGetConnect(pin t)

foreach( con connections
   printf("%s %s %L %n\n" con->layer con->objType con->thermal con->width)
   printf("    segments: %L\n" con->segments)
  );foreach

The width attribute isn't an available attribute, but shouldn't it be?

How do I find the cline width?

  • Sign in to reply
  • Cancel
  • jwhend
    jwhend over 9 years ago

    The width is in segments, you will need till do a foreach on con->segments to get the width of each segment.

    Try this:

    axlSetFindFilter(?enabled list( "noall" "pins")
                    ?onButtons list( "noall" "pins"))

    axlSingleSelectPoint()

    pin=car(axlGetSelSet())

    connections=car(axlDBGetConnect(pin t))

    foreach( con connections->segments
       printf("    segments: %L\n" con->width)
      );foreach

    --Jerry

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Geoff
    Geoff over 9 years ago

    I couldn't get your code to work, so I came up with this, that works.

    axlSingleSelectPoint()
     pin= car(axlGetSelSet())
     axlClearSelSet()
     
     connections=axlDBGetConnect(pin t)

     foreach( con connections
      printf("%s\n" con->layer)
      foreach(seg con->segments
       printf("    Width: %L\n" seg->width)
      );foreach    
     );foreach

    Thanks for the help, Jerry

    • 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