I've seen and used this practical feature in an other designer system. However if I select let's say IC1 in schematic and move to the layout there is no selection for IC1 at all...
Is there any solution for this?
Thanks,
Zoltan
I've seen and used this practical feature in an other designer system. However if I select let's say IC1 in schematic and move to the layout there is no selection for IC1 at all...
Is there any solution for this?
Thanks,
Zoltan
Daniel Wainwright wrote:
Doesn't the 'show' button do exactly what the OP asks? With the sch and
pcb editor windows both open (and in sync), click the 'show' mode
button,
, then select the component you want highlighting in the schematic, it
is also highlighted in the PCB.
yes, but if you click on the "switch brd/sch" button instead using Alt+Tab
(or having both windows next to each other) the highlighting disappears
Gruss, Matthias Dingeldein
--
Guillotinen sind nicht reziprok, aber das macht nix,
die werden eh nur fuer die Hinrichtung verwendet
actually I doesn't care about simultaneously showing a component on sch and layout but simultaneously selecting a component on booth sch and layout editors!
So this way I can easily move and distribute them along the layout.
This does seem like a useful ULP. Can someone upload it to the ULP files section? I haven't been able to copy the text version in a way that doesn't just provide an error when I run it in EAGLE. I have tried copying in "plain text" format in Textedit, Word, and Open Office. Apparently they all stick enough formatting into the file to mess it up.
Thanks,
It's also in the thread "Two scripts to help layout a board from a multi-page schematic..." and I asked Lorenz if he had thought about uploading it. It does take a couple days to do that because you have to create an account and they approve any uploads before they appear. I'll try to insert the script again here:
#usage "<b>pick-up parts in the board editor that are grouped in the schematic</b>\n"
"<p>"
"group parts in the schematic, then run pickGrouped"
"<p>"
"<author>Author: lorenznl@yahoo.com</author>"
// THIS PROGRAM IS PROVIDED AS IS AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED
void main (void) {
string gInSch[], cmd;
int gCnt, mx, my;
// collect the grouped parts
project.schematic(SCH) {
SCH.parts(PAR) PAR.instances (INS) {
if (PAR.device.package && ingroup(INS))
gInSch[gCnt++] = PAR.name;
}
}
if (gCnt == 0) {
dlgMessageBox("Nothing grouped in schematic!");
exit(1);
}
project.board (B) {
clrgroup(B);
// regroup the collected parts in the board
// and determine center of weight
B.elements (E) {
if (lookup(gInSch, E.name, 0) != "") {
mx += E.x;
my += E.y;
setgroup(E);
}
}
// pick up the grouped parts at center of weight
sprintf(cmd, "move (>%.1fmic %.1fmic)", u2mic(mx/gCnt), u2mic(my/gCnt));
if (project.schematic) cmd = "edit .brd;" + cmd;
exit(cmd);
}
}
Hopefully that worked. If not, I'll post it on my web site an give a link...
Well, I copied and pasted from that last message and it was a bit wonky, so I uploaded it to my web page:
http://analognotes.com/eagle/pickgrouped.ulp
When/if Lorenz uploads it to the Cadsoft site, I'll point to that...
Hi Doug,
Thanks for the rapid response.
I downloaded it from the your link, and now I can run it in EAGLE without getting an error. That's an improvement. However, if I group parts in the schematic editor, and "run pickgrouped" in the schematic editor, it does switch me to the layout editor, but nothing is selected there. Is there a trick to picking up the desired parts to move in the layout?
And if I select a group in the schematic, then switch to the layout and "run pickgrouped" there, I get a message that says "Nothing selected in the schematic.", even though I can still see the group highlighted in the schematic.
That's better than before, but still not quite successful.
Ray
That's odd... Bear with the silly questions for just a second please, but what version of EAGLE are you running, and what kind of computer and OS do you have?
FWIW, I tested on a Windows 7 computer with EAGLE 6.5 and I can run the script from either schematic or board. I'll test on my Vista box and Macbook when I get home tonight...
Tested on Macbook with EAGLE 5.12.0, worked fine.
Vista with 5.6 failed. Clrgroup() was added in the next version...