• 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. Form with

Stats

  • Replies 11
  • Subscribers 160
  • Views 16467
  • Members are here 0
More Content

Form with

LP2R4T
LP2R4T over 14 years ago

Hello,

How can I create a form with a fillin field that accepts multiple decimal values similar to the Grid spacing Setup menu in APD.

Spacing x: 25.00 25.00 25.00 

now the formfield looks like this:

FORMFILE FIELD current_grid_x_grids
FORMFILE FLOC 30 4
FORMFILE STRFILLIN 30 256
FORMFILE ENDFIELD

The problem is that it accepts all string values.. 

Thanks in advance

 

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 14 years ago

    Use REALFILLIN not STRFILLIN

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • LP2R4T
    LP2R4T over 14 years ago

    eDave said:

    Use REALFILLIN not STRFILLIN

    Takes Dave

    But What I want to acheive is to be able to have more then one real number in the same Field.Similar to the Grid Setup menu. 

    Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fxffxf
    fxffxf over 14 years ago

    REALFILLIN supports a single double precision number but if you require multiple numbers to be entered into a single field, you need to declare it to be a STRFILLIN, parse the input and use one of the family of axlMKSxxx APIs to convert the each resulting string value to a number.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • LP2R4T
    LP2R4T over 14 years ago

    fxffxf said:

    REALFILLIN supports a single double precision number but if you require multiple numbers to be entered into a single field, you need to declare it to be a STRFILLIN, parse the input and use one of the family of axlMKSxxx APIs to convert the each resulting string value to a number.

    Thanks I'll try that

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • LP2R4T
    LP2R4T over 14 years ago

    What would be the solution to limit the inputs of the Strfillin Field to accept only numerical values in order to avoid having text.

    • 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