• 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. Reports of Cline segment.

Stats

  • Replies 2
  • Subscribers 159
  • Views 13857
  • Members are here 0
More Content

Reports of Cline segment.

vimaldevlpr
vimaldevlpr over 5 years ago

Hai,

I would like to take cline segments report (Net name, xy, (Vertical, horizontal or angled)) is there a way to take if it possible means can anyone please guide me or share me the skill code please. 

Thanks

vimal

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

    The skill code below is an example of saving the 'show element' output to a file:

    procedure((report_clines \@optional FileName)
    prog((oldVisData oldSetData OutputName Result)
    if( FileName then
    (OutputName = strcat(simplifyFilename(".") "/" FileName))
    (OutputName = FileName)
    else
    (OutputName = strcat(simplifyFilename(".") "/clines.txt"))
    )
    if(isFile(OutputName) then
    unless(deleteFile(OutputName)
    (axlMsgPut "ERROR: could not remove existing file %s" OutputName)
    return()
    )
    )
    (axlClearSelSet)
    (oldVisData = (axlVisibleGet))
    (axlVisibleDesign t)
    (axlSetFindFilter
    ?enabled list("noall" "clinesegs" "invisible")
    ?onButtons list("noall" "clinesegs")
    )
    (axlAddSelectAll)
    (Result = axlShowObjectToFile( (axlGetSelSet) OutputName))
    (axlVisibleSet oldVisData)
    if( listp(Result) && equal( length(Result) 3 ) then
    axlMsgPut("%d lines written to %s" caddr(Result) car(Result))
    else
    axlMsgPut("report_clines failed!")
    )
    axlFlushDisplay()
    axlUIWUpdate(nil)
    (axlShell "redraw")
    )
    )

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

    Hai david

    Kindly Thanks for your support but i have an one more suggestion please.

    My reports like..

    Net name                 segment                                          xy location                  xy location

    GND                        HORIZONTAL LINE SEGMENT      (448.41 2925.69)        (402.20 2925.69)

    N16894896              ODD-ANGLE LINE SEGMENT        (403.30 2888.70)        (405.69 2886.31)

    Can you please change like this method please..

    • 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