www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1449719748; bh=x93GWlPOaMU8eUDZ4cK8JVBf9fFSkyyG1GyniZj5TA8=; h=Subject:From:In-Reply-To:Date:References:To:From:Subject; b=Co3Z4w3n9mfJwl/LQQ+o3BEhXO5JeUyY8EBQjLr49o5h1OQ77emrPA1hIsYQ2WNT5/oUBCZgPlCbZlSlfOFiBSyAWWW3juXFct2a0bs7Hz2JS/woS3e0kBFq0zOpDVmA1aOQv5RGt5/bz2lcn2t0yN82byFd31wl1gbrJmVPx+yTgnsR4xMtOTAs/fZZ3dUyX+qfyOMfjp+elkSMT1oOGRqo1YhyQ1lVaxJ3ixaWO+Bd7mzDkwf/bK64RrrrNFuxr6Ac5JuKOnW+B7OMVw4Swg8SDz8NYwRWSdXi1Fp7MGnErkLd/NFMM+2gBZioIMZQVrKoyzg3B1NqaquhNcTl6w== |
X-Yahoo-Newman-Id: | 732608 DOT 57291 DOT bm AT smtp223 DOT mail DOT gq1 DOT yahoo DOT com |
X-Yahoo-Newman-Property: | ymail-3 |
X-YMail-OSG: | loqqFOUVM1n8OrEP8tV0LSFjSaloi52p6hKkkD5FKwfWBiM |
qICiNKSOBOyouxyrVxsPJrDN_Re9uVcNYgFERenhPmz4c9HH9AlvSS43Hnwo | |
CXYrxgIjWX5_Fmxm5SC6TFl.32F3E9xyWo1wvZLmfYIiYsaJDHHvR3vQ7njU | |
AeVTdoTBIfNyKJxRHOZRwKTbb06qRN4S5vbfu05R8bB5FFAWBXwPpSe0DGDA | |
EXxEOGPQLs_Ft.Ex23_v3qahHIT5_I6iUhlPS3vzUAV2L3aL.4xU_Y_zLmKY | |
9VRUED5opYxeLfTIWvmQvWgaYfMPvykRNFYr6YwSN6q8WdagfHft8_5o5p3j | |
e_plwNnIW1bubC5qCyjQIEM5a8OfBMOUYrcseA76vkesyK4TUQmfRj9e6EkN | |
MPrZbDn7NfWoeVf03XzZzgGOpOVmnRbotU12k6fBdwmxZHQ1yhTjy1mc0kC7 | |
zvRzIHVwPWE3gMt4vct2Wo2cNVnogU5HgpG3rRSfxhyQsVsMCHAJog5IE1FT | |
i0EYqxHqjcCsrMqWs.w.tWjmPGeo9IbYk86cKJ4km83wBhe2KaQ-- | |
X-Yahoo-SMTP: | b8jVkbOswBAqZ4BhECp7nxPJUfTGEnEGv_G4qgQeZMeAbA-- |
Mime-Version: | 1.0 (Mac OS X Mail 8.2 \(2104\)) |
Subject: | Re: [geda-user] gsch2pcb after refdes-renum? (If implemented syncronization detail) |
From: | "Edward Hennessy (ehennes AT sbcglobal DOT net) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
In-Reply-To: | <91904A65-E452-4F4F-891A-56D61316E499@noqsi.com> |
Date: | Wed, 9 Dec 2015 19:55:46 -0800 |
Message-Id: | <F527D101-C0BA-4BCC-A5D3-C6C69AA1DD5F@sbcglobal.net> |
References: | <56658683 DOT 401 AT envinsci DOT co DOT uk> <CALT8Ef4=tMf=WmjYmp-2B3rN0SBmoqF5RkCoWZEm=+2hTBTENA AT mail DOT gmail DOT com> <20151207153821 DOT c2ac19e6f24b1776a3595e4a AT gmail DOT com> <CD4C755E-8E00-427D-909C-3F762A038844 AT gmail DOT com> <20151208091411 DOT c8968b0bedb705765529176c AT gmail DOT com> <B2F4DA99-3254-4C97-A408-854445A09C21 AT noqsi DOT com> <201512081819 DOT tB8IJBrt022764 AT envy DOT delorie DOT com> <20151208205451 DOT bb2478f8722e1a885822689d AT gmail DOT com> <201512082019 DOT tB8KJOlP030874 AT envy DOT delorie DOT com> <72D9CDFB-BB8D-4A81-9712-2D58F802B900 AT sbcglobal DOT net> <86263A11-92E5-402B-95E5-5228B6FE1C65 AT noqsi DOT com> <76D5DA43-C966-4881-AA72-B7BEEA74E1AA AT sbcglobal DOT net> <91904A65-E452-4F4F-891A-56D61316E499 AT noqsi DOT com> |
To: | "geda-user AT delorie DOT com" <geda-user AT delorie DOT com> |
X-Mailer: | Apple Mail (2.2104) |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id tBA3ttRe019391 |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> On Dec 9, 2015, at 6:03 PM, John Doty <jpd AT noqsi DOT com> wrote: > >> >> For an artificial or surrogate key that identifies an instance of a symbol, something like: >> >> COPY >> ~~~~ >> 1. Copy objects to buffer >> 2. Assign a new identifier to symbols in the buffer >> >> CUT >> ~~~ >> 1. Copy objects to buffer >> 2. Remove objects from schematic >> >> PASTE >> ~~~~~ >> 1. Copy objects to schematic >> 2. Assign a new identifier to symbols in the buffer >> >> It would also be nice to have some surrogate key, that could be either artificial or natural to identify a part. For example, if there is more than one symbol to represent a 74HCT00, a refdes renumbering program could identify that all the instances belong to the same part, and assign slots properly. A natural key could be a company part number, but many don’t create company part numbers, so an artificial key may be better in this case. > > You’re imagining copying in gschem. But a common, useful pattern is, in a shell: > > cp page1.sch page2.sch > gschem page2.sch > > Do this when page2 is similar, but not identical to, page1. > > gschem isn’t the only tool that manipulates schematics. There is no panacea. But, for the case you just described: - provide a tool to reset the surrogate keys on a page - provide a tool to make the file copy and automatically resets the surrogate keys - encode the filename and surrogate key to create the unique ID These features won’t work in all cases, but they are much better than doing everything manually. Ed
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |