This ArchiCAD training is the second in a three part series on creating custom objects for the ArchiCAD library.
In this 15 minute video, we look at how to make a 2D symbol more flexible by adding a parameter to control the size of the text and doing some simple editing of the GDL script. The result is a symbol that can be used with different font sizes depending on the context.
The text size is specified within the GDL script in units of millimeters. The common standard (in the U.S. and some other parts of the world) is to specify font sizes in points.
Here’s how you can convert points to mm:
A variation of the 2D symbol is created with two lines of text. The break between the lines is caused by hitting the Return or Enter key on the keyboard, which actually creates a “paragraph break”. When the new object is saved, you will see that each “line” of text is actually a separate paragraph within the GDL script.
Separate parameters can be set up for each line (paragraph) of text, as well as for the text size in mm (or in points, as long as the script is set up with the formula above). Note that each text parameter (each line or paragraph) may be up to 256 characters in length – which should be more than enough for basic 2D symbols.
|Thank you for visiting the Best Practices Course website. The video lessons are available for members only. If you are an active member and would like to watch the ArchiCAD training video on this page, please login to the website. If you are not currently a member, please visit the following pages for more information and to sign up for the Best Practices Course, the QuickStart Course or for the Best Practices ArchiCAD Coaching Program. Eric Bobrow, Creator of the Best Practices Course|
|Want to download this video, pause or resume playback, jump to a specific point or watch this video in a larger window? Click here for Video Playback and Download Notes...||Select+>|
While you watch this ArchiCAD training video, the player controls will disappear. To make them reappear, move your mouse over the playing area. Pause and resume the video by clicking anywhere inside the playing area.
This recording was made at a resolution of 1280 x 720 pixels but is displayed in a smaller viewing area. While playing the video you may switch to full screen by clicking the little button at the far right of the controls. To return to the smaller size, hit the Escape key on your keyboard.
You may download the video as an MP4 file from the Course Downloads page.
After downloading, you may open file in QuickTime Player or any compatible media player to watch at full native resolution.
You may need to right-click the following links and select Save Link As to download the file to your computer
Please post your comments and questions below.