X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <508886D5.80406@innocent.com> Date: Wed, 24 Oct 2012 20:24:53 -0400 From: Gus Fantanas User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: geda-user AT delorie DOT com CC: Colin D Bennett Subject: Re: import schematics? was Re: [geda-user] Odd position mangling error References: <5086B5AD DOT 9080706 AT estechnical DOT co DOT uk> <5086C5E4 DOT 7060900 AT estechnical DOT co DOT uk> <5086FDF5 DOT 1070006 AT estechnical DOT co DOT uk> <20121023140840 DOT 4cf8d4d6 AT svelte> <50872E3F DOT 1030806 AT neurotica DOT com> <20121023172735 DOT 702ee2f3 AT svelte> In-Reply-To: <20121023172735.702ee2f3@svelte> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com On 10/23/2012 08:27 PM, Colin D Bennett wrote: > On Tue, 23 Oct 2012 19:54:39 -0400 > Dave McGuire wrote: > >> On 10/23/2012 05:08 PM, Colin D Bennett wrote: >> >> This "import schematics" thing sounds much nicer. Is it really >> just as simple as selecting that menu choice? Does it need any >> other info? > It needs to know the path to the schematic, and optionally > footprint search path if you have custom ones for the project (I > always put my footprints for each project in a "./Footprints/" > subdirectory of the project, so each pcb file has a custom path to > it.) > > I think the first time you do Import Schematics, pcb will prompt > you to choose the schematic file with a file chooser dialog, then > the path is saved in the .pcb file. > > Your .pcb file will contain an attribute like this: > > Attribute("import::src0" "../Schematic/Schematic.sch") > > that specifies the path to your schematic. Then you just choose > File | Import Schematics to update the layout instantly. What if the schematic is more than one page? > > There is also the ":Import()" command which you can look up in the > pcb manual, and it allows you to do fancy stuff like specify the > location where the new elements are inserted. > > If you want to specify custom footprint path, create a text file > called pcb.settings and put it in the same directory as your .pcb > file: > > $ cat pcb.settings > lib-newlib = ../Footprints > > > Regards, > Colin >