You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
463 B
Plaintext
24 lines
463 B
Plaintext
15 years ago
|
#usage "<b>Edit next sheet</b>\n"
|
||
|
"<p>"
|
||
|
"<author>Author: support@cadsoft.de</author>"
|
||
|
|
||
|
// THIS PROGRAM IS PROVIDED AS IS AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED
|
||
|
|
||
|
string cmd = "";
|
||
|
|
||
|
if (schematic) {
|
||
|
int scnt = 0;
|
||
|
int s;
|
||
|
schematic(SH) {
|
||
|
sheet(SH) s = SH.number;
|
||
|
SH.sheets(S) {
|
||
|
scnt = S.number;
|
||
|
}
|
||
|
if (s < scnt) {
|
||
|
s++;
|
||
|
sprintf(cmd, "EDIT .s%d;\n", s);
|
||
|
}
|
||
|
}
|
||
|
exit(cmd);
|
||
|
}
|