Home > Community > Forums > PCB SKILL > Move figures to new layer in AXL skill

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: *

 Move figures to new layer in AXL skill 

Last post Wed, Dec 23 2009 4:01 PM by PherricOxide. 2 replies.
Started by PherricOxide 23 Dec 2009 03:19 PM. Topic has 2 replies and 3496 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Dec 23 2009 3:19 PM

    Move figures to new layer in AXL skill Reply
    In Allegro PCB editor, I want to be able to move all the currently selected clines to a different layer, like you can do in the GUI by right clicking and selecting Change to Layer.

    Here's what I've got so far,

    items = axlGetSelSet()
    ( foreach item items
    layername = axlGetParam(item->layer)
    layername = "ETCH/LAY15_SIG-9"
    axlSetParam(item)
    )

    All this does is crash Allegro though. Also, will this method move vias/via connections correctly?
    Filed under: , , , ,
    • Post Points: 20
  • Wed, Dec 23 2009 3:49 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 738
    • Points 16,055
    Re: Move figures to new layer in AXL skill Reply

    You can't change the layer parameters of a cline. You will need to re-create the cline on the new layer. This isn't completely trivial.

    Dave Elder, Tait Communications
    • Post Points: 20
  • Wed, Dec 23 2009 4:01 PM

    Re: Move figures to new layer in AXL skill Reply

     I've also tried using axlShell and the commands that I recorded in a macro when I selected the Change to Layer button, but that does not seem to work either...

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by PherricOxide at 23 Dec 2009 03:19 PM. Topic has 2 replies.