• 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. SKILL function to 'get' the DRC Marker Size set by user...

Stats

  • Replies 3
  • Subscribers 158
  • Views 1920
  • Members are here 0
More Content

SKILL function to 'get' the DRC Marker Size set by user in 'Design Parameters' window

BinduSripad
BinduSripad over 9 years ago

Hello,

I am trying to capture the user-defined  'DRC Marker Size' in 'Design Parameter Editor' window. The Allegro SKILL manual indicates using axlDBDisplayControl to access the "drcMarkerSize" control. 

But axlDBDisplayControl ('drcMarkerSize) always returns nil.

I tried recording a macro to set the DRC marker size and here is the script:

prmed
setwindow form.prmedit
FORM prmedit drc_marker_size 50.00
FORM prmedit apply
FORM prmedit done

Seems like this is to 'set' the marker size. How do I 'get' this marker size and save it in a variable in SKILL?

Thanks for the help!

Bindu

  • Cancel
  • Sign in to reply
  • jwhend
    jwhend over 9 years ago
    Leave off the "r" use 'drcMakerSize. axlDBDisplayControl('drcMakerSize)
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • BinduSripad
    BinduSripad over 9 years ago
    Thanks a lot! This works. I would have never guessed the spelling error :) Hope this is being fixed.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • B Bruekers
    B Bruekers over 9 years ago

    Look at the "share\pcb\examples\skill\DOC\FUNCS\axlDBDisplayControl.txt"

    I always check this directory (and others in the \skill\DOC\) when a function does not work as expected.

    • 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