delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/10/28/14:41:38

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <508D7C2C.7060009@innocent.com>
Date: Sun, 28 Oct 2012 14:40:44 -0400
From: Gus Fantanas <fantanas AT innocent DOT com>
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
Subject: Re: import schematics? was Re: [geda-user] Odd position mangling
error
References: <5086B5AD DOT 9080706 AT estechnical DOT co DOT uk> <CAPYb0EGLoBRUWzokBzsHbacMU8RhnfFnnq+-_+JQB_9m5V9E0Q AT mail DOT gmail DOT com> <5086C5E4 DOT 7060900 AT estechnical DOT co DOT uk> <k66li7$aqp$1 AT ger DOT gmane DOT org> <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> <508886D5 DOT 80406 AT innocent DOT com> <201210250026 DOT q9P0Qlcv018957 AT envy DOT delorie DOT com>
In-Reply-To: <201210250026.q9P0Qlcv018957@envy.delorie.com>
Reply-To: geda-user AT delorie DOT com

On 10/24/2012 08:26 PM, DJ Delorie wrote:
>>>     Attribute("import::src0" "../Schematic/Schematic.sch")
>>>
>> What if the schematic is more than one page?
> If you have more than one top-level schematic page, use import::src1,
> import::src2, etc.  Note: this is in the documentation ;-)
Well, I've been  trying the documentation ( 
http://pcb.geda-project.org/pcb-cvs/pcb.html#import-Action ), but it 
looks very cryptic to me.  I have a project directory with a completed 
project:  Two gschem pages, a project file, a completed pcb file (and an 
attributes file for the BOM, which is probably irrelevant here), so I 
know the old way with 'gsch2pcb' works.  To try things out, I started 
pcb from this directory and issued 
'Import(gnetlist,<whateverfile.sch>,<whateverfile-p2.sch>)'. It could 
not find my custom footprints and also gave me a bunch of errors about 
shorted nets (probably bogus).  Then, as Collin recommended on 
10/23/2012, I set up a 'pcb.settings' file in the same directory, with 
'lib-newlib = packages' in it ('packages' is a soft link, in the same 
directory, pointing to my custom footprints) and repeated the process.  
It seems that this time it could not find the standard libraries!  In 
either case, pcb did not import the components it could not associate 
with footprints (to be expected).

Undaunted, I started a third pcb session and in the command window I 
issued 'Attribute("Import :: src0" "whateverfile.sch"  "import :: src1" 
"whateverfile-p2.sch")'.  In the message window I saw "no action" 
relating to this command.

I think that a start-to-finish example on this newer feature, like the 
newbie examples, would be most helpful.  I'd be willing to write up one 
once I figure this out.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019