• 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. Regarding skill commands

Stats

  • State Verified Answer
  • Replies 18
  • Answers 2
  • Subscribers 18
  • Views 7455
  • Members are here 0
More Content

Regarding skill commands

archanav
archanav over 1 year ago

Hi All,i just started learning Skill scripting for automating the my works in allegro. While doing that i come across two commands for changing the user units. They are as follows below 

axlDBChangeDesignUnits

axlMKSConvert

i want to know the difference between these two. and my current requirement is to change the units from mils/inches/microns/centimeters to millimeters using skill scripting. Could any one help me to do this one ? and one more to thing is how we need to measure the line segments width in the current layer using skill script. 

Thanks in advance for your support.

  • Cancel
  • Sign in to reply
Parents
  • eDave
    0 eDave over 1 year ago

    Welcome to Skill!

    Use axlDBChangeDesignUnits to change the design units (and accuracy). axlMKSConvert is a mathematical function.

    To measure line segments widths you need to obtain the line segment you wish to measure using axlSelect and axlGetSelSet functions. Line segments have a width property that you can get by using lineSeg ->width.

    There are many examples in your Cadence installation folder in ...\share\pcb\examples\skill. Take a look at these.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • eDave
    0 eDave over 1 year ago

    Welcome to Skill!

    Use axlDBChangeDesignUnits to change the design units (and accuracy). axlMKSConvert is a mathematical function.

    To measure line segments widths you need to obtain the line segment you wish to measure using axlSelect and axlGetSelSet functions. Line segments have a width property that you can get by using lineSeg ->width.

    There are many examples in your Cadence installation folder in ...\share\pcb\examples\skill. Take a look at these.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
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