realthunder wrote: ↑
Wed Aug 26, 2020 10:11 am
Zolko wrote: ↑
Wed Aug 26, 2020 10:00 am
you mean that we could have 2 windows open on the same file without the user being aware of it ? Are we sure this is really what we want ?
Maybe add some parameter to control whether to allow loading the same physical file from different logical path. I'll think about it.
I think that this is a real and known issue in any CAD system, and they deal with it in different ways (CATIA, NX, SolidWorks...). The main question is the use of parts libraries, that will reside outside of the assembly directory, and in different locations, relative and absolute, on different systems. At some point I thought about using symlinks, but this appears now sub-optimal. The best solution I have seen is that of NX, where you can specify search paths and the priority between them.
May-be a solution would be to forbid a link to climb the directory hierarchy (no /../), and instead allow to define library paths (like Lib_1 = /home/user/CAD/Parts) and then link a part from that library (like Lib_1/Supplier_12/Part_1234). The library path would be set per user of course. If Part_1234 appears several times in the assembly at different levels, all links always point to the same file.
What do you think of that ?