What is the possibility of developing a new widget that fires up when a specific file is dropped in the workspace, process the file, convert it to another format and finally pass it to another widget?
With the experimental widget I developed few months ago, the one that handles KiCad PCB files, I had to read the PCB file and create an XML object in memory, then start processing the XML as a PCB, so instead of developing a new widget that does pretty much the same what eagle widget do, I thought it would be easier to create the XML object in Eagle format and pass it to Eagle widget for processing.
Is that doable?
Is it better if I just add the code to eagle widget?
What is the possibility of developing a new widget that fires up when a specific file is dropped in the workspace, process the file, convert it to another format and finally pass it to another widget?
With the experimental widget I developed few months ago, the one that handles KiCad PCB files, I had to read the PCB file and create an XML object in memory, then start processing the XML as a PCB, so instead of developing a new widget that does pretty much the same what eagle widget do, I thought it would be easier to create the XML object in Eagle format and pass it to Eagle widget for processing.
Is that doable?
Is it better if I just add the code to eagle widget?