• 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. Problem about axlFormColorize

Stats

  • Replies 2
  • Subscribers 158
  • Views 13819
  • Members are here 0
More Content

Problem about axlFormColorize

archive
archive over 18 years ago

Hi, everyone?

When I executed skill code, message is displayed

    (*Error* axlFormColorize: argument #1 should be any user-defined(other) type (type templete = \"otgg\" nil)

Script is

    mainForm = axlFormCreate( gensym() "GUImain.form" '(e outer) 'callback_main nil t)
    axlFormColorize(mainForm "ordering" 'text 'red)


What's problem?
Thanks.


Originally posted in cdnusers.org by janggj
  • Cancel
  • Sign in to reply
  • archive
    archive over 18 years ago

    I just started getting a similar error after loading the latest ISR for 15.7. To get my older code to execute again I had to path the form whenever it was called. Typically when opening the port:

    Form = outfile("my.form" "w")

    became

    Form = outfile("./my.form" "w")

    and when the form is created:

    npf=axlFormCreate( (gensym) "my.form" '(e outer) 'skill_prog_cback t)

    became

    npf=axlFormCreate( (gensym) "./my.form" '(e outer) 'skill_prog_cback t)

    Note the use of the "./".

    Try this in your code and let me know if it works.


    Originally posted in cdnusers.org by CDL
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 18 years ago

    The problem is not with the axlFormColorize command. Your axlFormCreate command is not creating the form and is returning nil. This is possible if the form file cannot be found in the form path (as CDL suggests) or there is a syntax error in your form file. If the problem is the form file, try pruning it down until you can identify the problem.

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • 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