• 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. Need help with axlGetMetalUsageForLayer

Stats

  • Replies 2
  • Subscribers 19
  • Views 9402
  • Members are here 0
More Content

Need help with axlGetMetalUsageForLayer

luanvn81
luanvn81 over 4 years ago

Hi All!

I have tried to test axlGetMetalUsageForLayer() function on my allegro designer 17.2 but not supported. I want  ask  if is there any way to run that function on allegro. Or  is there an other way to caculate copper density on an area?

Thank.

 Luan.

  • Cancel
  • Sign in to reply
  • DavidJHutchins
    DavidJHutchins over 4 years ago

    it works for me with allegro 17.4 S014 Windows SPB 64-bit Edition:

    skill 'setq data (axlGetMetalUsageForLayer list("ETCH/BOTTOM" "VIA CLASS/BOTTOM" "PIN/BOTTOM") list(list(-1150.35 408.77) list(-783.53 755.50)) t)'

    metalUsageData@0x79c9862170

    skill 'axlMsgPut("unit %s area %f percent %f" data->areaUnits data->metalArea data->percentMetalCoverage)'

    unit sq in area 0.127187 percent 100.000000

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

    Hi David!

     Thank you for your reply.  I will try to test on allegro 17.4 as your advice.

    Best regards,

    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