• 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. Mantaining dynamic rotatation graphics

Stats

  • Replies 1
  • Subscribers 159
  • Views 12382
  • Members are here 0
More Content

Mantaining dynamic rotatation graphics

aCraig
aCraig over 12 years ago

Hi,

I'm writing a "copy" application.  I use axlSelect to select the object. Then axlSelect to get a reference pin and put the objects on the cursor using axlDynamicsObject. At this point both rotate and mirror are supported. When rotating I use axlEnterAngle to get the the angle, say 270, and then set axlSetDynamicsRotation to 270. Everything looks fine. Now I select the new origin (pin) for the rotated objects, using axlSelect.

The objects are placed correctly but the dynamic objects on the cursor pop back to the original 0 degree rotation. But they are only visually rotated back to 0. If I place them again they are placed at the 270 degree rotation.

 Anybody understands what's going on?

Thanks,

Craig

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

    Never mind. I figured out why it's happening, seems there might be a bug with the command. In other to understand the state of the objects at various pieces of the code I was printing the status of things like mirror, angle, xy etc. In the copy function I had a print statement with axlSetDynamicsRotation (axlMsgPut "angle %L" (axlSetDynamicsRotation nil)). This should simply return the dynamic angle, but apparently it is resetting the angle as well.

    Regards,

    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