www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/01/19/07:58:00

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=gmail.com; s=20120113;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-type:content-transfer-encoding;
bh=wBQS6qu+Yxa8ikXFiO7XyERkcWRxsLOfDhC8pKcr6kY=;
b=WNcMZr1H3Nyv16/mINzdYP7gCnRrcFv4qDg0HytkPzCH1yYLMKYONdij8NgJvsKGsh
ZhWwn9Q4xAa0cTN7c0yP5NAyZBvdKtgM3ENWbCYSn/QA7FTBI9LNHaM6iC3/G5JqnamE
LAPx4T4RGy9ogXxC+XfdmHfmmEdg4OJIxqKNOq7ClcEZcqxRe8QXXhxTHMzGwrUTkZ9L
9HnVNPqOYcAuw6PJJpgYXhyWl0DShs9emXK/4Nf0f1rWp+0dZzIu9MYjDd1cWgyKPiVb
XElb8avqKry2z0znuLlfSq+K8nfgpq6nKYkEV+kddZ2w16Vi2m44DPRpzL+HmezQM9e9
QxBQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
bh=wBQS6qu+Yxa8ikXFiO7XyERkcWRxsLOfDhC8pKcr6kY=;
b=RiMRNE0FC/7YP49tORf8oPP/D80B8MkyYTB5agmjqiArVzWYAhRDz9Sa70ppnvcaTy
zlXe/0TAhSsmwnuk0awib9apD3n77oW8Ccd2pbSU8q/WYS3GLNnoEMkB8v0eNwom+KKp
s9bV5sdAQ2aDDClovXvVHqF/kbSbY5UARIgluaPiNcnodfn7xnCOBzoS7DNuXdw63qY8
jQBLxmmDWycdsJTkKY8ykdmoJO7vm3mlB5wkMKyfzO4kGWZ2Vca4WvihFx13na/iQ4Q1
rqgEi5cdezqm785BAnWszSZFTeyqPoQCndF5hr8HeahvGIBBTJdLgQSi/Kez9Ch/c0tS
GVeA==
X-Gm-Message-State: AG10YOQMDNqZ4z4ye7zWYCe0fmhLf2IBOZOhnkQwb2IcDrrEdRDa0ucMnPI4DdWCO3tXyw==
X-Received: by 10.28.35.6 with SMTP id j6mr19774424wmj.80.1453208201912;
Tue, 19 Jan 2016 04:56:41 -0800 (PST)
Date: Tue, 19 Jan 2016 13:56:36 +0100
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] pcb loop paste buffer, renumber (first multi
channel design)
Message-Id: <20160119135636.8b2397941a5d4c4f48c9a626@gmail.com>
In-Reply-To: <569D4266.7000905@prochac.sk>
References: <20151021192359 DOT 3dd8ad6d253c781da5523554 AT gmail DOT com>
<201510211839 DOT t9LIdVcv027165 AT envy DOT delorie DOT com>
<20151021222506 DOT 79643602de30ad2dd5541165 AT gmail DOT com>
<20151022115247 DOT 3c1c2f13 AT akka>
<20151022123903 DOT dddb6c83fa5a3db0963f4162 AT gmail DOT com>
<201510221641 DOT t9MGfxJq003243 AT envy DOT delorie DOT com>
<20151022212642 DOT abe0686f3bb04a3067667c43 AT gmail DOT com>
<201510221951 DOT t9MJpjgA013544 AT envy DOT delorie DOT com>
<562951C5 DOT 2010500 AT xs4all DOT nl>
<562B531C DOT 5090004 AT xs4all DOT nl>
<20160118171041 DOT 60f9ff0fd41a668af0fa84f4 AT gmail DOT com>
<569D3751 DOT 2020402 AT xs4all DOT nl>
<569D4266 DOT 7000905 AT prochac DOT sk>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
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

I tested and as far as I understand it works like this:
x is old refdes number
n increase with this value
Rx --> Rx+n

I have subsheets and numbers look like this:
x is old refdes number
n increase with this value
want this S2/S1/Rx --> S2/S1+n/Rx
but get this S2/S1/Rx --> S2/S1+n/Rx
and the need is to change subsheet number and use this for another channel.

For rename to work reasonable well there must be an integer difference between refdeses for different channels. Default for subsheet is Sn/Sn/Rx there where are two level of hierachy but it use quite a lot of space. To add an integer value to refdes use less space. I could add some kind of wild card so that both changing subsheet and adding an integer value to current subsheet works?

I also add comment then this is used. Sometimes layout data need to be reused for several channels and in such case it is possible to simply select the layout, copy, rename refdeses and paste. Then doing a multi channel copy and paste really speed up design work.




On Mon, 18 Jan 2016 20:52:06 +0100
"Milan Prochac (milan AT prochac DOT sk) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:

> 
> >> I needed it and  searched the source code for rename of buffer 
> >> elements but did not find it. Did you finnish it or are there any 
> >> problems?
> >>
> > Hi Nicklas,
> >
> > Merged into master as of October 29th, 2015.
> >
> > Kind regards,
> >
> > Bert Timmerman.
> 
> The rename code crashes when any of elements has empty name.
> 
> Please note the patch attached to 
> https://bugs.launchpad.net/pcb/+bug/1510313 
> (https://bugs.launchpad.net/pcb/+bug/1510313/+attachment/4548124/+files/0001-Fix-crashes-of-RenumberBlock-and-RenumberBufer-on-em.patch)
> 
> Milan

- Raw text -


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