Got a minute? We appreciate your feedback:

Graphisoft Learn survey
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

I need help GDL coding a wine barrel library part

Not applicable
I am doing a project for a winery and wanted to create a wine barrel library part for the model. I have added material and 3-D rotation attributes to the object however I am having difficulty in coding the 2-D script so that it updates itself to the current rotation of the object. If anyone has a macro that automatically calculates the plan representation of an object I would really appreciate it. I am attaching the object as well as some pictures of the model and winery.

Not applicable
Why don't you make the barrel with Profiler or Archiforma?
Much easier than scripting!

David Maudlin

This command is already available in GDL, in the 2D Script you use the PROJECT2 projection_code, angle, method command, you can read about its variables in the GDL Reference Guide, but the most frequent use is a top down image of the 3D model using PROJECT2 3, 270, 2. Its down side is that ArchiCAD is creating a 3D image for this symbol for each part you place, so many complicated parts can slow down the 2D Window. The faster 2D generation method is to figure out using trigonometry what the equivalent 2D symbols would be for the rotated object, but this not easy with curved objects.

The object you placed for download is missing the "barelslat" macro, so I was not able to look at your object.

David Maudlin / Architect
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 | 24 gb ram • MacBook Pro 2.8GHz | 16 gb ram • OSX11.7.10

Start a new conversation!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!