Home > Community > Forums > PCB SKILL > How to get a proceeding command?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to get a proceeding command? 

Last post Mon, Jan 21 2013 6:24 PM by myhan. 2 replies.
Started by myhan 20 Jan 2013 04:22 PM. Topic has 2 replies and 654 views
Page 1 of 1 (3 items)
Sort Posts:
  • Sun, Jan 20 2013 4:22 PM

    • myhan
    • Not Ranked
    • Joined on Tue, Feb 23 2010
    • Posts 6
    • Points 75
    How to get a proceeding command? Reply

    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.

    Filed under:
    • Post Points: 20
  • Sun, Jan 20 2013 5:14 PM

    • D912349
    • Top 150 Contributor
    • Joined on Sat, Nov 24 2012
    • Posts 45
    • Points 775
    Re: How to get a proceeding command? Reply

    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

    • Post Points: 20
  • Mon, Jan 21 2013 6:24 PM

    • myhan
    • Not Ranked
    • Joined on Tue, Feb 23 2010
    • Posts 6
    • Points 75
    Re: How to get a proceeding command? Reply

    Thanks for your prompt response.

    Manyong

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by myhan at 20 Jan 2013 04:22 PM. Topic has 2 replies.