(At this point I reach the limit of my knowledge of the Object programming style). The internal logic of the GDL has not changed although a feature or two may have been added. AC should merely read the data file for each instance and apply it accoringly.
Archicad 18 library code#
Surely it is immaterial if today AC opens and runs the code of v1 and tomorrow it runs v2.
There exists a data file describing the properties of each instance in the drawing. If that could be changed would not the difficulty evaporate?Īs I understand it, the GDL object has an ID and a body of code. For someone doing a lot of work with this the logistics could become a nightmare.
Archicad 18 library series#
Surely using the approach you describe could lead to a whole series of folders with many versions of the same GDL. All the settings for all the instances of the object in the drawing are lost. I ought to be able to direct AC to use the new file.
I don't work on the original for obvious reaons. It seems to me the only way around this is to do all the modifications again using the v1 file. I assume this means each has a unique ID. The two GDLs : v1 and v2, were both created in AC v2 the modified v1. Unfortunately the modified GDL object, along with others, already exists. Of course, if you need further versions of the same object, you just need to repeat steps 5.-7.ġ7.3" (1920x1080), NVidia GTX 460M 1.5 GB RAM By saving them to different folders on your hard drive and always loading the corresponding folder you control which version of the object ARCHICAD will use. If you had both versions of the file in the Embedded Library, they both would be loaded all the time, creating a "Duplicate Object" conflict and it would be up to luck which version ARCHICAD would be using and displaying. The above also explains why you cannot save the versions into the Embedded Library. You will see that depending on which folder you link, the placed object instance WILL change to "Object v1.gsm" or "Object v2.gsm". Need version 2 of the object? Link the "Version 2 "folder containing the "Object v2.gsm" object. Need version 1 of the object? Link the "Version 1 "folder containing the "Object v1.gsm" object. Now, all you have to do from this point on is to link that folder in the Library Manager that you need. That way the new version will stay the same Object to ARCHICAD. Copy-Paste it in the File System and then Rename it as needed. So if you want to create a new version of a GDL Object, DO NOT use the Save As command. (Using the Save As command from ARCHICAD to save a different version of the file DOES change its Main ID so from that point on it is a different object to ARCHICAD.) Renaming a GDL Object in the File system DOES NOT modify its Main ID, so ARCHICAD will still consider it the same object, just a different version of it. Rename the object in "Version 2" folder to something else like "Object v2.gsm". Now you will have a file named "Object v1.gsm" in both folders.ħ. Copy and Paste the "Object v1.gsm" object from the "Version 1 "folder to the "Version 2" folder. Create another folder on your hard drive (e.g. This is the critical part for preserving its Main ID:ĥ. Link the folder ("Version 1") containing the Object to your Project. Do not save it into the Embedded Library.ģ. "Version 1") and save the Object into that folder under a name (e.g. Starting from scratch to redefine all the post and beam objects in a file after an extensive GLD modification is getting rather old.Ģ.
Recently I've been adding more useful bom information. However, there is always room for improvement. Both can be hidden, colored or rendered as 'wood' as required from the GDL. The precise length of the latter can be defined automatically depending upon the module selected for the building. Then I use AC solid operations to cut the mortice into beam objects above and below. The post object allow me to add a tenon to each end and offset if as required. I use these for everything a wooden building I've designed. I've built a number of GDL files as 'objects' which I use as replacements for AC 'columns' and 'beams'. Indeed, how does one find and recognize the AC object ID? I've always found the way AC library works to be a mystery. If the file ID is the problem, could I copy the contents (text and non-text) from the modified GDL file into the original and save it in the Finder.