Disable auto schematic loading when opening brd file

Disable auto schematic loading when opening brd file

Anonymous
Not applicable
767 Views
15 Replies
Message 1 of 16

Disable auto schematic loading when opening brd file

Anonymous
Not applicable

Is there a way to prevent eagle from auto opening the .sch file for a design when I open the .brd file?

If not, why do you hate your user base?

0 Likes
768 Views
15 Replies
Replies (15)
Message 2 of 16

one-of-the-robs
Advisor
Advisor

@Anonymous wrote:

Is there a way to prevent eagle from auto opening the .sch file for a design when I open the .brd file?

If not, why do you hate your user base?


No, there isn't, and the reason is precisely because they DON'T hate the user base. As you would realise if you knew anything about Eagle. Rule 1 - NEVER OPEN ONLY THE ONE FILE - ALWAYS HAVE BOTH EDITORS OPEN - unless you REALLY know what you're doing.

0 Likes
Message 3 of 16

jorge_garcia
Autodesk
Autodesk

Hi @Anonymous ,

 

I hope you're doing well. We love our user base, that's why the schematic always open whenever you open the board  file. In order for consistency to be maintained between schematic and board, they both must be open at the same time. You can minimize one and continue working on the other but they both need to be open. If you close one and continue working on the other you will break consistency and it will take a lot of work to restore it. 

 

That's why the schematic opens whenever you open the board so that any changes you make can be tracked between the two files.

 

Let me know if there's anything else I can do for you.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes
Message 4 of 16

Anonymous
Not applicable
Yeah dude I know that's why it's the default (been using this program
for 5-6 years).
I don't need an explanation as to why less careful individuals need
that by default.
I do things in the board file for fabrication stuff that isn't
replicated in the schematic
and i have to remember to pull up the sch window and close out so
eagle doesn't whine at me about back annotation everytime i want to
just mess with a board file.

I would be highly convenience by a setting to disable this feature.
It's annoying as hell.
0 Likes
Message 5 of 16

one-of-the-robs
Advisor
Advisor

@Anonymous wrote:
Yeah dude I know that's why it's the default
<snip>
I would be highly convenience by a setting to disable this feature.
It's annoying as hell.

Are you serious? Do you really think that your personal "inconvenience" at having to occasionally close one editor and ignore a warning should overrule the safety of all other users? Self-important much? Options get set wrongly - especially by new users - all the time. Closing a window is not hard.

0 Likes
Message 6 of 16

infoR3BS2
Participant
Participant

If you just add an option to disable the autoloading of the SCH file and then place the BRD file in read-only mode, nobody gets hurt. I'm in the same position with the OP, I regurarly open the BRD file only for assembly purposes and I only want the BRD file and the BOM file open so that I can quickly alt+tab between these windows.

0 Likes
Message 7 of 16

Anonymous
Not applicable

It's not an occasional thing for me, big daddy.

Do you cry about people being too concerned with their own work flows every time somebody asks if there's a way to do or get around something in the program?

Talk about a sense of self importance.

0 Likes
Message 8 of 16

Anonymous
Not applicable

Yeah I do know what I'm doing and have plenty of occasions to need only the board editor open, so why don't you **** off with your assumptions about my competency. I was just asking if there was a way to accomplish it that I had overlooked, jackass.

0 Likes
Message 9 of 16

jorge_garcia
Autodesk
Autodesk

Hi @Anonymous ,

 

Just to answer the question directly, there's no option or mechanism to disable the auto-loading of the schematic right now. With that said, we can appreciate the use case.

 

Have a great day.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes
Message 10 of 16

Anonymous
Not applicable
Thanks
0 Likes
Message 11 of 16

mtl_asm
Collaborator
Collaborator

to answer the OP. you actually CAN setup eagle to do this. 

 

the only caveat is that when you load the board it will still have the initial yellow/black header that warns about f/b annotation. but after 1 click it is gone.

 

go to the eagle scripts folder that contains eagle.scr

 

open the eagle.scr file in a text editor

 

somewhere in this file there is going to be a block of commands that immediately follow a line that says 

 

SCH:

 

these are commands that run as soon as a _schematic_ window is opened. 

 

so all you have to do is put this  self explanatory command in that block

 

close;

 

 

the end

 

 

0 Likes
Message 12 of 16

Anonymous
Not applicable

That's pretty slick.
Am I correct in thinking that then, when I do want to open a schematic,
it'll still close itself?

Doesn't look like there's any syntax for the close command to specify a
file.

Maybe putting
'edit .sch; close;'

under the brd section would do the trick.

Message 13 of 16

Anonymous
Not applicable

Doing it under the brd section seems to have done the trick.

When I open a brd file, the sch gets closed.

When I open a sch file, a "can't execute while command is running in other window" message pops up,

but I just click cancel and everything proceeds as normal.

Thanks for the tip.

Message 14 of 16

mtl_asm
Collaborator
Collaborator

yes so you need to manage the eagle.scr file. you could make a script or ulp that say changes the name between 2 files (ie names one eagle.scr and one something else) and then call that script from within eagle to pick what "setting" you want.

 

regarding "close", from what i understand close closes whatever editor window it is called from. so my idea was that say you double click a .brd or open a project that leads to a .brd and a.sch opening normally.  the .sch will open and then immediately call close, adn well, close. i tested that and it works fine. this leaves only the .brd open.

 

i read the rest of the thread and re concerns of accidentally saving the .brd which may screw f/b annotation, you could add something like this to the  BRD: block. the idea would be to immediately save a temp copy of the .brd so you aren't even working on the actual .brd file paired with the .sch.

 

to do this you could try adding the following commands to the BRD: block of the eagle.scr

 

write temp.brd;
edit temp.brd;

 

so what this will do is as soon as the brd context is opened WRITE will act as a save as and save the board as "temp.brd". After write though the orginal .brd is still open in the editor, so calling edit temp.brd will make it so the new one you jsut saved is opened instead. if the sch is already closed then it should not save a temp.sch.  from testing you might have to move teh entire SCH: block above the BRD: block in the eagle.scr to ensure that the schematic context commands are executed first (and thus .sch closes) before the BRD: commands execute (this will avoid eagle asking you if you also want to save the .sch when you WRITE the temp.brd). 

 

i didnt do tons of testing but it seems to work. here is some screencap of relevant sections

 

i take no blame for anything ofc but if it does not work let me know. im on eagle 9.6.2 in windows 10. (consider making backups of all files involved, eagle.scr, whatever guinea pig project you will test on, etc before doing any mods)

 

mtlasm_0-1628883628653.png

 

Message 15 of 16

mtl_asm
Collaborator
Collaborator

ah i was still typing my reply when you made your report.

 

i think putting close in SCH: will not result in any additional pop up windows but if it is working to your satisfaction then that is already great. 

 

take care 🙂

0 Likes
Message 16 of 16

jorge_garcia
Autodesk
Autodesk

Hi @mtl_asm ,

 

KUDOS TO YOU! As always I'm impressed by the ingenuity of our users. It never occurred to me to try to script it. Good idea.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.