Graphisoft®
Basic Library Version: 13
Opening Line Macro
1. General Description
Opening Line macro can be used for drawing a window opening line in 3D and in 2D (e.g. for a sky light object).
2. Parameters
| Name | Type | Default | Remarks |
|---|---|---|---|
| A | Length | 1 | X Dimension |
| B | Length | 1 | Y Dimension |
| standardType | Integer | 1 |
Standard [1-2]
|
| thk | Length | 0.05 | Distance Between Lines in 3D (e.g. glass thickness) |
| openingType | Integer | 1 | Opening Type [0-4] |
| lineType | LineType | 1 | 2D Line Type |
| lineType1 | Integer | 1 |
3D Line Type 1 [0-2]
|
| lineType2 | Integer | 1 | 3D Line Type 2 [0-2]. See the lineType1 for more details. |
Opening types
The following opening types are implemented in this macro:
![]() |
![]() |
![]() |
![]() |
![]() |
| 0 - Fixed Sash | 1 - Side hung | 2 - Top hung | 3 - Side and Top hung | 4 - Pivot |
3. Usage
2D Script
In the 2D Script the window object has to contain the following code lines.
call "OpeningLine" parameters A = A, B = B * cos(ac_roofang), standardType = 2, ! USA standard openingType = 2, ! Top hung skylight lineType = gs_line_type
3D Script
In the 3D script the window object has to contain the following code portion.
gs_frame_width = 0.04 add -A/2 + gs_frame_width, gs_frame_width, 0 call "OpeningLine" parameters A = A - 2 * gs_frame_width, B = B - 2 * gs_frame_width, standardType = 2, ! USA standard thk = 0.018, ! glass thickness openingType = 1, ! Side hung window lineType1 = 2, ! Dashed line type lineType2 = 2 ! Dashed line type del 1




