• 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. Modify dynamic shape parameters using SKILL

Stats

  • Replies 13
  • Subscribers 161
  • Views 19988
  • Members are here 0
More Content

Modify dynamic shape parameters using SKILL

migrg
migrg over 7 years ago

Hi, I'm trying to modify the shape parameters (thermal relief, void controls, etc.) using SKILL. I can access the object but I don't see any properties or parameters to modify (prop is nil). Any ideas of where those properties hide in the database? Here is what I can see in the SKILL command line, id is the dbid of the shape

id~>??
(prop nil priority -7 dynamicGroup
dbid:0x2aee03f17098 taper nil shapeAuto
(dbid:0x2aee0ca2f500 dbid:0x2aee0ca2f470 dbid:0x2aee0ca2f3e0 dbid:0x2aee0ca2f350 dbid:0x2aee0ca2f2c0
dbid:0x2aee0ca2f230
)
region nil bBox
((-19600.0 -19300.0)
(19300.0 19300.0)
) readOnly
t voids nil net dbid:0x2aedbf2396d8
objType "shape" segments
(dbid:0x2aee0c14ef10 dbid:0x2aee0c14ee38 dbid:0x2aee0c14eb40 dbid:0x2aee0c14e958) nSegs
4 fillet nil fill t
connect nil cavity nil branch
nil fillOOD nil shapeBoundary nil
shapeIsBoundary t isRect nil layer
"BOUNDARY/L1" symbolEtch nil parent nil
isHole nil parentGroups nil
)

  • Sign in to reply
  • Cancel
  • migrg
    migrg over 7 years ago
    Update: I've been able to do this by manually creating a prm file that modifies the dynfill_param_type and then loading it through axlImportXmlDBRecords (thank's to the hint here community.cadence.com/.../14935).

    This works, however if anyone knows how to access these properties individually through database objects (id->... etc.) that would be in my opinion a much cleaner way to do it.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 7 years ago

    If you are using 17.2 you can now achieve this using axlGetParam("shapeDynamic") , changing parameters and using axlSetParam(p)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • migrg
    migrg over 7 years ago
    Thanks Dave!

    I am using 17.2 but I cannot see that parameter

    axlGetParam(nil)
    ("fillet" "paramLayerSet" "testprep" "artwork" "paramDisplay"
    "paramDesign" "paramTextGroup" "paramTextBlock" "paramLayer" "paramLayerGroup")

    Also I'm not sure what to do after using axlGetParam, how can I know the properties that 'hang' from it in order to know what to modify?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 7 years ago
    It's in s027. I'm not sure when it was added.
    Try
    p = axlGetParam("shapeDynamic")
    p ->??

    example:
    p ->artwork = "Gerber RS274X"
    axlSetParam(p)
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • FoCo
    FoCo over 5 years ago in reply to eDave

    I know this is an old thread, but can changing the shape parameters be done on a single shape?  axlGetParam("shapeDynamic") works great at the global level, but I need to check and set these parameters for individual shapes. Specifically I am trying to get and/or set the minAperture parameter for all shapes on a specific layer.  axlGetParam works on all shapes and it does NOT change a shape that has an override value, which is what I am trying to change. Thank you.

    • 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