• 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. How to get a proceeding command?

Stats

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

How to get a proceeding command?

myhan
myhan over 12 years ago

Hi,

 I am making a skill file to change line width.

But It needs to change according to current command, "Add Connect" or "Add Line".

So I want to know how to get a procedding command.

Please let me know.

Thanks in advance.

  • Sign in to reply
  • Cancel
  • D912349
    D912349 over 12 years ago

    Hi myhan,

    I am not sure if their is a way to get a preceeding command using skill because most of axl functions work during idle mode (or no command is active).

    but regarding changing line width, you can use axlDBCreateLine.

    try this.

    axlSetFindFilter(?enabled `("ALL" "clines" "lines") ?onButtons `("noALL" "clines" "lines"))

    axlEnterPoint()

    point = axlLastPick(nil)

    axlSingleSelectPoint(point)

     lineDbid = car(axlGetSelSet())

    (foreach item lineDbid->segments
               axlDBCreateLine(item->startEnd, preferedWidth, item->layer)
     )
     axlDeleteObject(lineDbid)

    note: preferedWidth is variable for width you wan to change

    Hope this helps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • myhan
    myhan over 12 years ago

    Thanks for your prompt response.

    Manyong

    • 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