I've been doing some exploring on parts creation, and are far as I can tell, the elements referenced by svgId and terminalID attributes in the fxp file do not need to be in the same group / on the same layer as specified for the layer attribute. Fritzing finds them regardless, when working in the Fritzing views. If they are not child elements of the layer element, then they will not export to the view SVG. Which is no problem when they are invisible anyway. However, I think that it should be valid to have them in the layer, and they should then also export and display. In this case that is not true. I do not have a sample handy, but I think had it working for the svgId elements. They export correctly as long as they are child elements of the layer element. But this test says that the terminalId elements do not. At least in the breadboard view.
↧