kicanvas
kicanvas copied to clipboard
Cannot get the Schematic to be the default when using API to allow viewing both schematic and pct
I call the embedded API using the following:
<script type="module" src="js/kicanvas.js"></script>
<kicanvas-embed controls="full" controlslist="nodownload">
<kicanvas-source src="files/project.kicad_pro"></kicanvas-source>
<kicanvas-source src="files/project.kicad_sch"></kicanvas-source>
<kicanvas-source src="files/project.kicad_pcb"></kicanvas-source>
</kicanvas-embed>
It always starts with the PCB.
I have tried omitting the pro
file and I have tried swapped the order. The PCB is always the default when the webpage is loaded.
What change do I need to make such that the schematic is the default?