LDraw.org Discussion Forums
[LDCad] LDCAD about Add custom parts - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: [LDCad] LDCAD about Add custom parts (/thread-28843.html)



LDCAD about Add custom parts - HWQ - 2025-05-28

After adding the custom parts, is there a way to refresh the software directly instead of closing it and reopening it? Or is it possible to refresh the software by scripting?


RE: LDCAD about Add custom parts - Roland Melkert - 2025-05-28

(2025-05-28, 9:24)HWQ Wrote: After adding the custom parts, is there a way to refresh the software directly instead of closing it and reopening it? Or is it possible to refresh the software by scripting?

Not at the moment, it only scans for file changes at startup in order to update its cache.

But you can use any part at anytime by just dragging it from your file explorer.

Depending on its location it might end up being used with absolute references though.


RE: LDCAD about Add custom parts - Jeff Jones - 2025-05-28

(2025-05-28, 20:11)Roland Melkert Wrote: Not at the moment, it only scans for file changes at startup in order to update its cache.

But you can use any part at anytime by just dragging it from your file explorer.

Depending on its location it might end up being used with absolute references though.

i got a idea f12 would force ldcad to dump its cache and basically reload it


RE: LDCAD about Add custom parts - Orion Pobursky - 2025-05-28

F12 is already mapped by default to something else (show/hide connection data? I don't remember)


RE: LDCAD about Add custom parts - Roland Melkert - 2025-05-28

(2025-05-28, 21:07)Jeff Jones Wrote: i got a idea f12 would force ldcad to dump its cache and basically reload it

Reloading the cache isn't a simple thing to implement in the current code.

There are thousands of objects referring to it during runtime. It would become an access violation minefield.

The same thing happened when I decided to implement ldraw file reloading at a much too late stadium Big Grin