{"action":"opened","issue":{"url":"https://api.github.com/repos/fritzing/fritzing-app/issues/3065","labels_url":"https://api.github.com/repos/fritzing/fritzing-app/issues/3065/labels{/name}","comments_url":"https://api.github.com/repos/fritzing/fritzing-app/issues/3065/comments","events_url":"https://api.github.com/repos/fritzing/fritzing-app/issues/3065/events","html_url":"https://github.com/fritzing/fritzing-app/issues/3065","id":62432722,"number":3065,"title":"Developer Wiki: Sketch File Format. Views and their Layers.","user":{"login":"htho","id":2182288,"avatar_url":"https://avatars.githubusercontent.com/u/2182288?v=3","gravatar_id":"","url":"https://api.github.com/users/htho","html_url":"https://github.com/htho","followers_url":"https://api.github.com/users/htho/followers","following_url":"https://api.github.com/users/htho/following{/other_user}","gists_url":"https://api.github.com/users/htho/gists{/gist_id}","starred_url":"https://api.github.com/users/htho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htho/subscriptions","organizations_url":"https://api.github.com/users/htho/orgs","repos_url":"https://api.github.com/users/htho/repos","events_url":"https://api.github.com/users/htho/events{/privacy}","received_events_url":"https://api.github.com/users/htho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-17T15:38:12Z","updated_at":"2015-03-17T15:38:12Z","closed_at":null,"body":"Hi,\r\n\r\nI need to find out if a part should be shown in the PCB View.\r\nUntil now I simply selected parts that have `./instances/instance/views/pcbView/geometry[@z > 0]` (z > 0 in pcbView). But this does not do the trick:\r\n```xml\r\n<instance moduleIdRef=\"20.28PerfboardModuleID\" modelIndex=\"85495141\" path=\"/home/htho/.config/Fritzing/partfactory/1916e24579d024323d346bbeacd0733d/core/20.28PerfboardModuleID.fzp\">\r\n    <property name=\"size\" value=\"20.28\"/>\r\n    <title>Perfboard1</title>\r\n    <views>\r\n        <breadboardView layer=\"breadboardbreadboard\">\r\n            <geometry z=\"1.50003\" x=\"-36\" y=\"-144\"/>\r\n            <connectors>\r\n                <!-- [...] -->\r\n            </connectors>\r\n        </breadboardView>\r\n        <pcbView layer=\"breadboardbreadboard\">\r\n            <geometry z=\"2.50002\" x=\"-143.983\" y=\"147.941\"/>\r\n            <connectors>\r\n                <!-- [...] -->\r\n            </connectors>\r\n        </pcbView>\r\n        <schematicView layer=\"breadboardbreadboard\">\r\n            <geometry z=\"2.50003\" x=\"-77.2891\" y=\"74.8847\"/>\r\n            <connectors>\r\n                <!-- [...] -->\r\n            </connectors>\r\n        </schematicView>\r\n    </views>\r\n</instance>\r\n```\r\nThis perfboard should not be in the pcbView but `z > 0`!\r\n\r\nAnyway, I thought `./instances/instance/views/pcbView[@layer=\"copper0\"]` might help, but again this perfboard confuses me. I thought `./breadboardView[@layer=\"breadboard\"]` would put that part in the breadboardView. But this perfboard has a layer named `breadboardbreadboard`.\r\nSo, what is it? How do I know if a part should be represented in the PCB View?"}}