• 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. axlDynamicsObject and axlSetDynamicsMirror question

Stats

  • Replies 6
  • Subscribers 159
  • Views 13918
  • Members are here 0
More Content

axlDynamicsObject and axlSetDynamicsMirror question

nightingale
nightingale over 13 years ago

 Hello ALL:

      I want to mirror geometry all the shapes and clines and lines in board file.so I used  axlDynamicsObject(axlGetSelSet(),'(0.0,0.0)) and axlSetDynamicsMirror('GEOMETRY).After I executed the code,the shapes and clines and lines all stick on the cursor,but can bot been location ,Could somebody kindly tell me how to place them?Thanks in advince!

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 13 years ago
    Use axlTransformObject.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • nightingale
    nightingale over 13 years ago

     Thanks Dave!but what I want is mirror geometry, axlTransformObject :for mirror parameter,it only have two value:"t' or "nil",it is a pity it does not have "geometry" value.I try to use the axlTransformObject before,when I used axlTransformObject to mirror,for example:the shape on the top side,after used axlTransformObject,the shape mirror to the bottom side.what i want is the shape still on the top side,but mirror geometry.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 13 years ago
    OK. Try this workaround: Assuming the shape dbid is shpId... layer = shpId ->layer, axlTransformObject(shpId, ?mirror t), poly = car(axlPolyFromDB(shpId)) axlDeleteObject(shpId), axlDBCreateShape(poly, t, layer) Dave
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • nightingale
    nightingale over 13 years ago

     Dave,I think it is a good idea , when i debug the skill,there are unexpeced warnnings happen.I try the workaround like this,first I used axlDBGetShapes("BOUNDARY")to get shpId,the output message is "(dbid:143942704 dbid:143951360 dbid:143958096 dbid:143963672 dbid:143967120 dbid:143962416 dbid:143957072 dbid:143955040"

    when I try this "poly=car(axlPolyFromDB(shpId))",the warning appear "W- *WARNING* (axlPolyFromDB): Invalid database id argument - (dbid:143942704 dbid:143951360 dbid:143958096 dbid:143963672 dbid:143967120 dbid:143962416 dbid:143957072 dbid:143955040)
    nil"

    Dave,Could you kindly to tell me why ?Thanks in Advanced!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Randy R
    Randy R over 13 years ago

    When you used axlDBGetShapes("BOUNDARY"), you retrieved all shapes on the BOUNDARY layer.  The command axlPolyFromDB only works on one shape dbid, but you are giving it a list of shape dbid's instead of just one.

    • 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