• 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. how can you get the current grid settings

Stats

  • Replies 7
  • Subscribers 160
  • Views 16032
  • Members are here 0
More Content

how can you get the current grid settings

Ejlersen
Ejlersen over 15 years ago

Hi

Is there a way to get the current grid settings? I've looked over the documentation without finding anything, so hopefully someone here knows how to?

Best regards

Ole

  • Sign in to reply
  • Cancel
Parents
  • fxffxf
    fxffxf over 15 years ago

        NAME

             axlDBDummyNet - retrieve dummy nets
    FUNCTION
    axlDBDummyNet (
    g_mode
    ) -> lo_dbid/nil
    SYNOPSIS
    This returns all dummy nets in design.
    Two courtesy options are provided which are:
    - 'pin for any dummy net that has a pin return the first pin of the
    dummy net
    - 'shape for any dummy net that has a shape return the first shape of
    the dummy net

    Typically each dummy net in design will only have a single pin
    or shape but this may not always be the case. Clines or vias cannot,
    by themselves exist on a dummy.

    Symbols (dra) do not have dummy nets
    NEEDS
    g_mode: 'pin - return list of 1st pins on dummy nets
    'shape - return list of 1st shapes on dummy nets
    RETURNS
    t - success
    nil - failed due to incorrect arguments
    SEE ALSO
    axlIsDummyNet, axlDbidName
    EXAMPLES
    1) Print all 1st pins on dummy nets
    foreach( mapc x axlDBDummyNet('pin) printf("%s\n" axlDbidName(x)))
    2) Get all dummy nets on design
    p = axlDBDummyNet(nil)


    NAME
    axlDBTextBlockCreate - create a new text block
    SYNOPSIS
    axlDBTextBlockCreate(
    x_blockTemplate
    ?width f_width
    ?height f_height
    ?lineSpace f_lineSpace
    ?charSpace f_charSpace
    ?photoWidth f_photoWidth
    ) => x_textBlock/nil

    FUNCTION
    Creates a new block block from the template block number provided.
    By providing optional textblock charactistics

    You can get available text blocks by:
    lst = axlGetParam("paramTextBlock")

    NEEDS
    x_blockTemplate
    f_XXX values
    RETURNS
    x_textBlock - new text block
    nil - failed, Typically your exhausted the number block Allegro provides
    or one of the parameters is not the correct data type.
    SEE ALSO
    axlGetParam, axlSetParam, axlDBTextBlockCompact
    EXAMPLES
    - create a new text block based upon text block 1 but change width and height
    blockNum = axlDBTextBlockCreate(1 ?width 15.0 ?height 16.0
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • fxffxf
    fxffxf over 15 years ago

        NAME

             axlDBDummyNet - retrieve dummy nets
    FUNCTION
    axlDBDummyNet (
    g_mode
    ) -> lo_dbid/nil
    SYNOPSIS
    This returns all dummy nets in design.
    Two courtesy options are provided which are:
    - 'pin for any dummy net that has a pin return the first pin of the
    dummy net
    - 'shape for any dummy net that has a shape return the first shape of
    the dummy net

    Typically each dummy net in design will only have a single pin
    or shape but this may not always be the case. Clines or vias cannot,
    by themselves exist on a dummy.

    Symbols (dra) do not have dummy nets
    NEEDS
    g_mode: 'pin - return list of 1st pins on dummy nets
    'shape - return list of 1st shapes on dummy nets
    RETURNS
    t - success
    nil - failed due to incorrect arguments
    SEE ALSO
    axlIsDummyNet, axlDbidName
    EXAMPLES
    1) Print all 1st pins on dummy nets
    foreach( mapc x axlDBDummyNet('pin) printf("%s\n" axlDbidName(x)))
    2) Get all dummy nets on design
    p = axlDBDummyNet(nil)


    NAME
    axlDBTextBlockCreate - create a new text block
    SYNOPSIS
    axlDBTextBlockCreate(
    x_blockTemplate
    ?width f_width
    ?height f_height
    ?lineSpace f_lineSpace
    ?charSpace f_charSpace
    ?photoWidth f_photoWidth
    ) => x_textBlock/nil

    FUNCTION
    Creates a new block block from the template block number provided.
    By providing optional textblock charactistics

    You can get available text blocks by:
    lst = axlGetParam("paramTextBlock")

    NEEDS
    x_blockTemplate
    f_XXX values
    RETURNS
    x_textBlock - new text block
    nil - failed, Typically your exhausted the number block Allegro provides
    or one of the parameters is not the correct data type.
    SEE ALSO
    axlGetParam, axlSetParam, axlDBTextBlockCompact
    EXAMPLES
    - create a new text block based upon text block 1 but change width and height
    blockNum = axlDBTextBlockCreate(1 ?width 15.0 ?height 16.0
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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