• 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. skill code to copy lines to subclass

Stats

  • Replies 7
  • Subscribers 160
  • Views 14287
  • Members are here 0
More Content

skill code to copy lines to subclass

Ejlersen
Ejlersen over 11 years ago

Hi

I was wondering if someone had some code to share to copy lines to another subclass?

If not, I'll just have to do it on my own :-)

Thanks in advance. 

Best regards

OIe 

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 11 years ago

    Hi Ole,

    See attached. It can be used to move or copy, lines shapes or text.

    Cheers,

    Dave 

    DE_moveObjsToLayer.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 11 years ago

    Hi Dave

    Thanks for the code, do you happen to have the layer selection and object selection code (area, temp group, lasso etc.) for it as well?

    Best regards

    Ole 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 11 years ago

    Sorry Ole, not currently for this function.

    Also, if you are not moving clines but lines on non-etch classes, you may just prefer to use axlCopyObject and axlChangeLayer.

    Dave 

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

    Hi Dave

    No problem, just had a customer that asked for this functionality - but will consider doing it at some point where I have time left to do this. I want to try doing it with axlMiniStatusLoad which I've never tried before and it seems a bit cumbersome to get to Work.

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • luanvn81
    luanvn81 over 11 years ago

     Hi guys, Normal 0 false false false MicrosoftInternetExplorer4

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

    I'm sorry but How can I make it go to work?  I have tried to  give it "axlCmdRegister( "DE_moveObjsToLayer" `DE_moveObjsToLayer)" and run it but got error ==>  E- *Error* DE_moveObjsToLayer: too few arguments (at least 2 expected, 0 given) - nil   (-_-)(-_-)(-_-).

    Tks.

    Luan

     

    • 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