LDraw.org Discussion Forums
How to import MLCad.grp? - 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: How to import MLCad.grp? (/thread-10488.html)



How to import MLCad.grp? - Michael Horvath - 2013-10-29

I installed MLCad 3.40 a while ago but didn't bother with importing MLCad.grp. How do I do so now? I've copied the file into MLCad's directory but MLCad ignores it as far as I can tell. Thanks.


Re: How to import MLCad.grp? - Willy Tschager - 2013-10-29

What do you need MLCad.grp for? All tree definitions have been moved to the registry:

HKEY_CURRENT_USER\Software\Lachmann\MLCad\GroupDefs

in 3.40. MLCad.grp has become obsolete. Read Tweaking the Parts Tree

w.


Re: How to import MLCad.grp? - Michael Horvath - 2013-10-29

Supposedly there's a way to import your MLCad.grp.

https://sites.google.com/site/workingwithlpub/news/mlcadversion340released

Unfortunately I can't get it to work. There must be a flag in the registry that says "Program ran for the first time".


Re: How to import MLCad.grp? - Michael Heidemann - 2013-10-30

I think that this flag is simply the answer to the question: is the group section already in the registry.

I might be wrong, but from coder point of view this makes a lot of sense.


Re: How to import MLCad.grp? - Michael Horvath - 2013-11-01

Crap. The Parts Tree Configuration dialog is tedious. There's no "Add a Search String" button. Instead you have to open the dialog, type in what you want, close the dialog, open the dialog again and then move the string up or down in the list if needed. Repeat.


Re: How to import MLCad.grp? - Orion Pobursky - 2013-11-01

This is why I really don't like programs that use the registry and have shunned it in favor of .ini files for all of my programs such as LDDP.


Re: How to import MLCad.grp? - Philippe Hurbain - 2013-11-01

Totally agree! Though I guess it's possible to explore MLCad data with regedit?


Re: How to import MLCad.grp? - Michael Horvath - 2013-11-02

Can't he just put the configuration data in the User\AppData folder or wherever it is "safe" to write files?


Re: How to import MLCad.grp? - Michael Horvath - 2013-11-02

I would like to know too. Maybe it's easier to manage the categories there.


Re: How to import MLCad.grp? - Michael Heidemann - 2013-11-02

I've found two occurence of what you are looking for:
HKEY_CURRENT_USER\Software\Lachmann\MLCad\GroupDefs
HKEY_USERS\S-1-5-21-3369456988-2834548598-986560021-1002\Software\Lachmann\MLCad\GroupDefs

Currently both seems to be identical.

Edit:
I changed a bit in the registry and started MLCad. The changes has been available.
Then I clicked by error or "default".
Both entries are still the same, but I see only the default.
I can not see any flag that results in this behaviour. Sad


Re: How to import MLCad.grp? - Michael Horvath - 2013-11-02

I have a bit of trouble understanding your post. What do you mean by "by error or default"?


Re: How to import MLCad.grp? - Michael Heidemann - 2013-11-02

Sorry for that bad sentence.

What I wanted to say is, that instead open the window where you can edit the group options, I took the menu entry below that. As I have only the german version installed I guess that the entry is called "default values" which I choosed.

I hope now you can understand Smile