Home > Community > Forums > PCB SKILL > axlChangeLayer documentation issue or are lines really unsupported

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

 axlChangeLayer documentation issue or are lines really unsupported 

Last post Thu, Apr 4 2013 11:07 AM by aCraig. 6 replies.
Started by Ejlersen 03 Apr 2013 10:17 AM. Topic has 6 replies and 904 views
Page 1 of 1 (7 items)
Sort Posts:
  • Wed, Apr 3 2013 10:17 AM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 556
    • Points 9,795
    axlChangeLayer documentation issue or are lines really unsupported Reply

    Hi

    I'm working on a large number of package symbols where the subclass (not class) needs to be changed for number of lines.

    Using the new axlChangeLayer (16.6) command that in the documentation should support both lines, clines, segments, shapes and text I keep getting the following error (nid is the object id)

    axlChangeLayer(nid "PACKAGE GEOMETRY/ASSEMBLY_TOP")
    E- (SPMHGE-522): Changing line to a different class is not supported.

    Anyone that has used this command with succes? 

    Best regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Thu, Apr 4 2013 7:38 AM

    • aCraig
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Pepperell, MA
    • Posts 132
    • Points 2,070
    Re: axlChangeLayer documentation issue or are lines really unsupported Reply

    Hi Ole,

     I just tried it and was able to change text from "CONDUCTOR/L1" to "CONDUCTOR/L2".It also worked for "CONDUCTOR/L2" to SUBSTRATE GEOMETRY/OUTLINE".

     Craig

    • Post Points: 20
  • Thu, Apr 4 2013 10:09 AM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 556
    • Points 9,795
    Re: axlChangeLayer documentation issue or are lines really unsupported Reply

    Hi Craig

    That really is weird. I've cut my code down to basically nothing to show the issue that I'm seeing.

    Line 14-15 is where I do the copy of an object and then try to change layer of that object. (In my current code I changed this to axlDBCreateLine which works nicely, but it would be nice not to have to work with axlPath commands to do arcs)

    Best regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Thu, Apr 4 2013 10:32 AM

    • aCraig
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Pepperell, MA
    • Posts 132
    • Points 2,070
    Re: axlChangeLayer documentation issue or are lines really unsupported Reply

    Hi Ole,

    It looks like you are trying to change the line to the same layer. When I tried this I get the same error as you.

    Craig

    • Post Points: 20
  • Thu, Apr 4 2013 10:37 AM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 556
    • Points 9,795
    Re: axlChangeLayer documentation issue or are lines really unsupported Reply

    Hi Craig

    If you look at the dra file and code it should change from PG/Silkscreen_top to PG/Assembly_top

    Best regards

    Ole

    Best regards Ole
    • Post Points: 35
  • Thu, Apr 4 2013 10:58 AM

    • aCraig
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Pepperell, MA
    • Posts 132
    • Points 2,070
    Re: axlChangeLayer documentation issue or are lines really unsupported Reply

     Hi Ole,

    I can only get text to work, Both line and shape fail. Sounds like a bug.

    Craig

    • Post Points: 5
  • Thu, Apr 4 2013 11:07 AM

    • aCraig
    • Top 50 Contributor
    • Joined on Sat, Aug 16 2008
    • Pepperell, MA
    • Posts 132
    • Points 2,070
    Re: axlChangeLayer documentation issue or are lines really unsupported Reply

    Messing with this a bit more. I can change from Conductor/L1 to Component Geometry/Assembly_Top. But it errors if I try to change it back to L1. I can also change from Conductor/L1 to Conductor/L2 and back.

    Looks like the object has to reside on a Conductor layer to be changed. You should probably ping Cadence.

    Craig

     

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by Ejlersen at 03 Apr 2013 10:17 AM. Topic has 6 replies.