GDL
About building parametric objects with GDL.

Saving Library Parts as binary

muril00ng
Enthusiast

Hello all,
One question regarding binary files.
According to the GDL Manual, to save a file in binary format, first we save the 3D geometry as object as usual. Then, we open the saved object in the GDL editor,  "Save As", then we turn on the checkbox "Save in Binary Format" (ArchiCAD 24 version).
I saved object following this procedure. However, when converted HSF or XML format, there's no Binary section generated.
I did a XML conversion with an ArchiCAD chair (Designer Chair 01 24), and it has the 3D Binary section (1st picture), as well as the .BIN file of the geometry, which becomes embedded in the GSM file, which is called using the "BINARY" command in the object's 3D script (2nd picture).

 

How should be the correct procedure to obtain the binary format? Unfortunatelly there's not enough sources for clarifications.
Thanks in advance.

 

Operating system used: Windows 10


q1.pngq2.png

____________________________________
Murilo Noleto
http://www.kilobim.com.br/
AC 12 - 27 | Win 10 | 16GB | NVidia GTX 1050Ti | AMD Ryzen 7 1700X
1 REPLY 1
Peter Baksa
Graphisoft
Graphisoft

Hi muril00ng,

 

The option to save binary 3d has been hidden by a registry key: LibraryManager\Enable Binary and Create New LibPart Save Options

This needs to be set to 1 at location depending on the installed AC version you use: HKEY_CURRENT_USER/Software/Graphisoft/ARCHICAD/ARCHICAD...

You can check the installed path under the (Default) key.

On mac theses settings are in /Users/<user>/Library/Preferences/com.graphisoft.AC....plist

 

The workflow has changed too:

  • Select the model you want to save in 3D window
  • Save Selection as... (object / door / window / stair / railing)
  • Under Name there is an Options button, binary 3d can be selected there
  • Save

 

 

 

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

Setup info provided by author