• 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 7470
  • 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
  • archanav
    0 archanav over 1 year ago

    Hi eDave ,thanks for your reply.i tried using this commands as below getting an error like command not found.

    /used like this - axlDBChangeDesignUnits 0.001 mm is this the correct way of using?

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

    I suggest you take a Cadence Skill tutorial before you dive in. Skill isn't difficult but there are some basics you need to learn.

    You are not in the Skill console so you either need to prefix your commands with "skill " or open the skill console using "set telskill"

    You will find the syntax of commands in in the "Allegro User Guide: SKILL Reference" manual.

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

    Hi Dave,

    Thanks for your reply. what does the array of the XlPinData indicates? and .dra file w use to create footprints and we will assign ref des to the footprint in both assembly layer and silkscreen layer (like U? for  IC components etc...,)so to get the information about ref des i asked how to use symrefdes  for .dra files.

    my new query is i went through your reply for the query  silk to solder check in allegro PCB and creating Context file.

    https://community.cadence.com/cadence_technology_forums/pcb-design/f/pcb-design/31029/autosilkutils-error

    https://community.cadence.com/cadence_technology_forums/pcb-design/f/allegro-x-scripting-skill/40034/creating-context-file

    i tried using the file -https://community.cadence.com/cfs-file/__key/communityserver-discussions-components-files/27/AutosilkUtils_5F00_public.zip. 

    but i am getting error like this. May i know where i am doing mistake?

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

    I haven't got a 23.1 version of the code yet. I'm waiting on a  license server upgrade.

    The cxt file that you have won't work in 23.1

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

    I am using 22.1 version. 

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

    Same problem, sorry.

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

    ok. are there any other ways to get the clearance between silk and solder mask for these versions?

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

    ok. are there any other ways to get the clearance between silk and solder mask for these versions?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • eDave
    0 eDave over 1 year ago in reply to archanav

    I'm not sure sorry. I'm currently using 17.2.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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