• 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 Scripting - Skill
  3. Mirroring in Bottom of Bottom

Stats

  • Replies 4
  • Subscribers 17
  • Views 10718
  • Members are here 0
More Content

Mirroring in Bottom of Bottom

vimaldevlpr
vimaldevlpr over 6 years ago

Hai,

I have a doubt in mirror object  axlTransformObject-  ?mirror  'GEOMETRY  i used this for mirroring an object in same layer its only works in top layer bottom it is not working how to i do this in bottom for same layer using skill please any one guide me i share my conditions used.

axlDBTransactionMark(vm)
          if(mirror_objs then
        b = 'GEOMETRY
            axlTransformObject(mirror_objs, ?mirror b ?angle 180.0 ?allOrNone nil)
          ); endif
    ); end while  

While Using Top layer Its mirrored in TOP layer Its working fine But in Bottom Layer We used Means it moved to TOP I Want to Mirror same in Bottom how to solve this problem Any one guide me please.

  • Cancel
  • Sign in to reply
Parents
  • eDave
    eDave over 6 years ago

    Do't use angle

    axlTransformObject(mirror_objs, ?mirror 'GEOMETRY)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jason Hsu
    Jason Hsu over 6 years ago in reply to eDave

    Hi Dave,

      I have a question for "rotate" in axlTransformObject. I want to rotate 8 circle shape 22.5(360.0/8/2) degree in a counter-clockwise. No matter what I rotate all of 8 shapes only once or rotate them one by one. It seems the result has some offset. The circle shape isn't the center between two pins. The shape isn't symmetrical by X or Y axial. (I think rotate is simple than calculate the coordinate, then add the shape.) If do you know why? Could you please help me on it. Thanks in advance.

    global:         axlTransformObject(l_dbid ?angle 22.5)

    individual:   axlTransformObject(dbid ?angle 22.5 ?origin 0:0)

    Best Regards,

    Jason

         

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 6 years ago in reply to Jason Hsu

    Hi Jason, I had trouble emulating what you are seeing until I set my design accuracy to 1. Then I get strange results. What design accuracy are you using?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • eDave
    eDave over 6 years ago in reply to Jason Hsu

    Hi Jason, I had trouble emulating what you are seeing until I set my design accuracy to 1. Then I get strange results. What design accuracy are you using?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Jason Hsu
    Jason Hsu over 6 years ago in reply to eDave

    Hi Dave,

      Thank you for your reply. I setup the accuracy to 2 or 4,it always has some offset. I will use 1 tomorrow. Now,I attempt axlCopyObject,the angle is a variable,by make use of for loop. It looks good. Thanks a lot for your help.

    Best Regards

    Jason

    • 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