• Home
  • :
  • Community
  • :
  • Forums
  • :
  • PCB SKILL
  • :
  • Changes to FORM does not update until application resta...

PCB SKILL Forums

Changes to FORM does not update until application restart

Eric Jordan
Eric Jordan 2 months 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).
  • Reply
  • Cancel
  • Cancel
Parents
  • B Bruekers
    B Bruekers 1 month 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
    • Up 0 Down
    • Reply
    • Cancel
Reply
  • Eric Jordan
    Eric Jordan 1 month ago in reply to B Bruekers

    I'll try that, thanks.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Children
No Data

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.