GDL
About building parametric objects with GDL.
SOLVED!

Objects changes their .gsm file to an old version (with suffix _REMOTE, _BASE, _LOCAL)

BenjiDev
Enthusiast

Hello,

I am editing a GDL object that is part of a loaded library.

When saving the code (CTRL+S in the GDL editor) the placed objects changes their .gsm file to an old version.

 

What is happening is that when i save the .gsm file, a new version of that file is created in the library with the same name but with the suffix _LOCAL, _REMOTE or _BASE added to the name. This .gsm file contains the old version of the GDL-code (before the save). I think this is meant as some kind of backup, I don't understand the rules for what suffix is chosen.

 

But what is annoying is that the placed objects will use this backup of the .gsm file, so I won't be able to see the changes unless I place a new object. 

 

BenjiDev_0-1691501696674.png

I don't understand this functionality and it occurs about half the time I'm editing and saving the GDL-code. I don't want the objects to change their .gsm file, I don't even really want backups to be created (_REMOTE, _BASE, _LOCAL), Is there a setting for this?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
BenjiDev
Enthusiast

This was related to GIT, not Archicad.

There seems to be some automatic backup made for binary files. 

Just disabled it using this command: 

git config --global mergetool.keepBackup false

 

View solution in original post

1 REPLY 1
Solution
BenjiDev
Enthusiast

This was related to GIT, not Archicad.

There seems to be some automatic backup made for binary files. 

Just disabled it using this command: 

git config --global mergetool.keepBackup false