• 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. axlChangeLayer documentation issue or are lines really ...

Stats

  • Replies 6
  • Subscribers 160
  • Views 14195
  • Members are here 0
More Content

axlChangeLayer documentation issue or are lines really unsupported

Ejlersen
Ejlersen over 12 years ago

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

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

    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

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

    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

    ns_copyindra.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • aCraig
    aCraig over 12 years ago

    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

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

    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

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

     Hi Ole,

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

    Craig

    • 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