SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Linked files not updated? (by Joe)
I have a file that has the drawing of the main assembly, which is made of parts in separate files.

Sometimes, when I make a change in the separate files, that change is propagated into the main assembly. This is what I expect.

However, sometimes the change does not appear in the main assembly.

I tried "Regenerate All" and opening and closing the program, etc, and the changes are still not showing in the main assembly, although they show in the parts file.
Sun Sep 3 2017, 09:29:07
(no subject) (by Jonathan Westhues)
Are you saving the parts before regenerating the assembly?
Sun Sep 3 2017, 18:52:02
(no subject) (by Joe)
Yes, I have saved the files, closed the program, rebooted the computer, etc.

The change shows up correctly when you look at the file (call it file A) by itself. It is also correct when you look at a file which contains that part (call it file B).

However, when you look at the main assembly (call it file C) which contains file B, the change is not there.

(The part in file A is simple. The change is the golor was made green and a piece was moved 0.2 inches.)
Sun Sep 3 2017, 19:56:27
(no subject) (by Jonathan Westhues)
Are you sure you don't have multiple copies of the file for B? This behavior is unexpected. Or if you can post files and exact repro steps, then someone could take a look.
Sun Sep 3 2017, 22:10:03
(no subject) (by Joe)
I am absolutely sure. I tried all the things I could think of to try to get around this issue. I copied the files and the program to a new folder.

I tried another test:

I renamed the "B" file (say "xB").

I then loaded the xB file into a new using "File > New, File > Open". The change is there as expected.

I then tried "File > New, New Group > Link / Assemble" and selected the xB file. The change is *not* there.
Sun Sep 3 2017, 23:33:27
(no subject) (by Joe)
I even edited the .slvs file and made sure the
Group.impFile
and
Group.impFileRel
had the correct paths and file names.

Still, the change is *not* there when the B file is opened, but is present if the C file is opened.
Mon Sep 4 2017, 09:48:36
(no subject) (by User1)
@Jonathan Westhues, as I understand situation, there is next

File "A" - simple model

File "B" - assembly, that include model "A" as part

File "C" - assembly, that include assembly "B".

So, its look like changes in "A" not go to automatically to "C".

TODO: SolveSpace should refresh geometry recursive in all assembeld assembly.

Is it correct, @Joe?
Mon Sep 4 2017, 19:03:55
(no subject) (by Jonathan Westhues)
Did you save file B with the propagated changes before regenerating file C?
Mon Sep 4 2017, 20:25:26
(no subject) (by Joe)
User1 wrote:

File "A" - simple model

File "B" - assembly, that include model "A" as part

File "C" - assembly, that include assembly "B".

So, its look like changes in "A" not go to automatically to "C".

TODO: SolveSpace should refresh geometry recursive in all assembled assembly.

Is it correct, @Joe?
------------------------
Joe says: Yes, the above is correct. If it is too hard to handle the nested changes, it could just give a warning message.


------------------------
Jonathan Westhues wrote:

Did you save file B with the propagated changes before regenerating file C?

------------------------
Joe says:

I did not. I just did "Edit > Regenerate all", and when I hit "File > New" it does *not* ask if I want to save the file, so I assumed that regenerating it also saved it.

Now I tried explicitly saving it after regenerating it, and it works as expected.

Since "Regenerate all" changes the contents, it should ask if I want to save it when I open a new file, because it asks for other cases.
Mon Sep 4 2017, 21:21:11
(no subject) (by User1)
Wed Sep 6 2017, 11:06:01
(no subject) (by Joe)
If the "Regenerate full assembly tree" cannot be done, that is OK, but there should be a note about it so people will know that is how it is.

However, the following issue is important, and should be easy to fix:

Since "Regenerate all" changes the contents, it should ask if I want to save it when I open a new file, because it asks for other cases.
Sat Sep 9 2017, 10:31:00
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.