• 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. Changes to FORM does not update until application resta...

Stats

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

Changes to FORM does not update until application restart

Eric Jordan
Eric Jordan over 4 years ago
I am using skill to show a form in the status panel. When I make changes to the source form file, the changes are not visible until PCB Editor is closed and reopened.
Here's the call to the form:
axlMiniStatusLoad( (gensym) "//cadencesrv/CadenceShare/Libraries/Scripts/PCBEditor/AlignDistribute.frm" 'AlignDistributeFormCallback t)
 
I also tried embedding the source form in IL code and the same thing happens (I do a reload of the .il file in between changes).
  • Cancel
  • Sign in to reply
  • B Bruekers
    B Bruekers over 4 years ago

    afaik it is caused by the name of the form filename or 'header' inside this formfile.

    It gets loaded into memory when running the axlMiniStatusLoad(). When starting axlMiniStatusLoad() again it reloads it from memory.

     

    If you embed the form inside your tool then you can change the form name at each run.

    So something like this: axlMiniStatusLoad( 'formSym list(symbolToString(gensym()) list(p)) 'AlignDistributeFormCallback t)

    The 'p' is a string that contains your form.

    See also <cdsroot>\share\pcb\examples\skill\form\basic\finline.il

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Eric Jordan
    Eric Jordan over 4 years ago in reply to B Bruekers

    I'll try that, thanks.

    • 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