• 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. Skill equivalent for "shape add" command.

Stats

  • Replies 2
  • Subscribers 18
  • Views 4093
  • Members are here 0
More Content

Skill equivalent for "shape add" command.

mstaub
mstaub over 4 years ago

Does anyone know if there is a Skill equivalent to the "shape add" command such that when it's finished creating the shape, assuming it's successful, returns the dbid if the new shape? I'm currently trying to implement my own method of this by creating a path, adding segments created by user picks and updating the Rband dynamics, but I haven't successfully mimicked the "shape add" command.

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

    look at the documentation for axlDBCreateShape(), axlDBCreateOpenShape() and axlDBCreateCloseShape()

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

    That is correct, those functions can be used to create shapes, but they also require you to have a predefined poly or path. In Allegro the "shape add" command allows the user to define things ling, class, subclass, shape fill, net, etc then draw the shape using pick locations, which is what I am trying to mimic. I was wondering if something similar exists in Skill that mimics "shape add", then provides the dbid when complete. 

    I have a version of this working now using the following commands:

    axlEnterPoint()

    axlPathStart()

    axlAddSimpleRbandDynamics()

    axlGetDynamicsSegs()

    axlPathLine()

    axlDBCreateShape()

    but it's a little more involved then it needs to be if there is a skill equivalent to "shape add"

    • 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