GS Corner Window Functions and GS Window Functions Macro
Index
1. General Description
A corner window can use this macro to implement default services in connection with the wall (eg.: the wallhole itself, cavity closure, masonry arch, window trim, sill, board).
2. Parameters
| Name | Type | Default | Remarks |
|---|---|---|---|
| A | Length | 1 | X Dimension |
| B | Length | 1.5 | Y Dimension |
| ZZYZX | Length | 1 | Z Dimension |
| AC_WallContours | Integer | 0 | Wall Contours (0-None,1-Full,2-Side,3-Length) |
| AC_Hole_Hotspot_Control | Integer | 3 | Hotspots 0-None,1-2D,2-3D,3-All |
| AC_HoleSideMaterial | Boolean | 1 | Hole Has Wall's Side Material |
| AC_HoleMaterialCurved | Boolean | 0 | Hole Material's Split is Curved |
| AC_show2DHotspotsIn3D | Boolean | 1 | Show 2D Hotspots in 3D |
| gs_macro_control_parameters | Title | --- | Macro Control Parameters |
| iWindowShape | Integer | 0 | Window Shape [0 - 1] |
| windowArchHeight | Length | 0 | Arch Height |
| gs_IsCurved | Boolean | 0 | Curved Window |
| lod2D | Integer | 0 | 2D Detail Level |
| lod3D | Integer | 0 | 3D Detail Level |
| bOpeningDirection | Boolean | 0 | Opening Direction |
| bDisabeMirroring | Boolean | 0 | Disable WindowMirroring |
| gs_idUI | Integer | ID of Custom Tabpages | |
| gs_stUI | String | Name of Custom Tabpages | |
| gs_icoUI | String | Icons of Custom Tabpages | |
| ln | String | Off | Lining |
| ac_corner_window | Boolean | 1 | Corner Window Function (only in GS Corner Window Functions macro) |
| ac_cw_debug | Boolean | 0 | Corner Window Debug Function |
| ac_cw_function | Boolean | 0 | Placement Type (1=CW,0=W) |
| ac_corner_angle | Angle | 90 | Corner Angle |
| ac_diff_con_wall_thk | Boolean | 0 | Diff. Con. Wall Thickness |
| ac_con_wall_thk | Length | 0 | Conecting Wall Thickness |
| gs_options | Title | --- | Options |
| gs_param_level | String | High | Parametric Level |
| gs_full_edit | Boolean | 1 | Fully Editable |
| gs_detlevel_2D | String | Scale Sensitive | 2D Detail Level |
| gs_detlevel_3D | String | Detailed | 3D Detail Level |
| gs_conecting | String | Off | Align to Door/Window on Side |
| gs_opening_dir | String | Inside | Opening Direction |
| gs_window_trim | String | Both Sides | Trim |
| gs_trim_oversize | Boolean | 1 | Trim Oversize |
| gs_trim_width | Length | 0 | Trim Width |
| gs_trim_width_in | Length | 0.025 | Trim Width Inside |
| gs_trim_width_out | Length | 0.025 | Trim Width Outside |
| gs_trim_offs | Length | 0 | Trim Offset |
| gs_trim_offs_in | Length | 0 | Trim Offset Inside |
| gs_trim_offs_out | Length | 0 | Trim Offset Outside |
| gs_trim_thk | Length | 0 | Trim Thickness |
| gs_trim_thk_in | Length | 0.025 | Trim Thickness Inside |
| gs_trim_thk_out | Length | 0.025 | Trim Thickness Outside |
| gs_tw_left_in | Length | 0.1 | Trim Width Left Inside |
| gs_tw_right_in | Length | 0.1 | Trim Width Right Inside |
| gs_tw_top_in | Length | 0.1 | Trim Width Top Inside |
| gs_tw_bottom_in | Length | 0.1 | Trim Width on Bottom Inside |
| gs_tw_left_out | Length | 0.1 | Trim Width Left Outside |
| gs_tw_right_out | Length | 0.1 | Trim Width Right Outside |
| gs_tw_top_out | Length | 0.1 | Trim Width Top Outside |
| gs_tw_bottom_out | Length | 0.1 | Trim Width on Bottom Outside |
| gs_window_sill | String | Both Sides | Sill and Board |
| gs_sill_oversize | Boolean | 0 | Sill Oversize |
| gs_sill_type | String | Timber Sill | Type of the Sill |
| gs_sill_thk | Length | 0.025 | Sill Thickness |
| gs_sill_nosing | Length | 0.03 | Sill Nosing |
| gs_sill_angle | Angle | 3 | Sill Angle |
| gs_sill_ovhg_left | Length | 0.1 | Sill Overhang Left |
| gs_sill_ovhg_right | Length | 0.1 | Sill Overhang Right |
| gs_sill_slip_in | Length | 0 | Sill Slip In Depth |
| gs_sill_width | Length | 0.163318963349 | Width of Sill |
| gs_sill_curved | Boolean | 0 | Sill is Curved in Curved Walls |
| gs_board_type | String | Type of the Board | |
| gs_board_thk | Length | 0.025 | Board Thickness |
| gs_board_nosing | Length | 0.03 | Board Nosing |
| gs_board_angle | Angle | 0 | Board Angle |
| gs_board_ovhg_left | Length | 0.1 | Board Overhang Left |
| gs_board_ovhg_right | Length | 0.1 | Board Overhang Right |
| gs_board_slip_in | Length | 0 | Board Slip In Depth |
| gs_board_curved | Boolean | 0 | Board is Curved in Curved Walls |
| gs_window_shutter | String | Style 1 | Shutter |
| gs_shutter_type | String | Decorative | Shutter Style |
| gs_shutter_width | Length | 0.37 | Shutter Width |
| gs_shutter_pos | String | Both Sides | Shutter Position |
| gs_shut_open | Boolean | 0 | Close Shutter |
| gs_masonry_arch | String | Off | Masonry Arch |
| gs_masonry_arch_structure | String | Stucco Arch | Masonry Arch Type |
| gs_masonry_arch_ovhg_left | Length | 0 | Masonry Arch Overhang Left |
| gs_masonry_arch_ovhg_right | Length | 0 | Masonry Arch Overhang Right |
| gs_masonry_arch_rise | Length | 0.03 | Masonry Arch Rise |
| gs_masonry_arch_skewback_angle | Angle | 75 | Skewback Angle |
| gs_masonry_arch_proj | Length | 0 | Masonry Arch Projection |
| gs_masonry_arch_height | Length | 0.25 | Masonry Arch Height |
| gs_masonry_arch_depth | Length | 0.12 | Masonry Arch Depth |
| gs_masonry_arch_brick_thk | Length | 0.065 | Brick Thickness |
| gs_masonry_arch_mort_thk | Length | 0.01 | Mortar Thickness |
| gs_masonry_arch_keystone_width | Length | 0.1 | Keystone Width |
| gs_masonry_arch_keystone_osize | Length | 0 | Keystone Oversize |
| gs_masonry_arch_keystone_proj | Length | 0.01 | Keystone Projection |
| gs_masonry_arch_brick_mat | Material | 1 | Brick Material |
| gs_masonry_arch_mort_mat | Material | 2 | Mortar Material |
| gs_masonry_arch_keystone_mat | Material | 37 | Keystone Material |
| AC_custom_reveal | Boolean | 0 | Custom Reveal |
| gs_reveal_type | String | Negative Reveal | Reveal Type |
| gs_reveal_left | Length | 0.06 | Left Jamb Depth |
| gs_reveal_right | Length | 0.06 | Right Jamb Depth |
| gs_reveal_top | Length | 0.06 | Head Depth |
| gs_reveal_bottom | Length | 0 | Sill Depth |
| gs_reveal_left_angle | Angle | 20 | Left Side Angle |
| gs_reveal_right_angle | Angle | 20 | Right Side Angle |
| gs_reveal_top_angle | Angle | 20 | Upper Side Angle |
| gs_reveal_bottom_angle | Angle | 20 | Bottom Side Angle |
| gs_turn_plaster | Title | --- | Turn Plaster |
| gs_bOverOut | Boolean | 0 | Turn Reference-Side Plaster |
| gs_bOverIn | Boolean | 0 | Turn Opposite-Side Plaster |
| gs_closureMethod | String | None | Cavity Closure |
| gs_cavity_side | String | Both | Cavity Side |
| gs_nTurn | Integer | 1 | Number of Turned Skins |
| gs_nTurnDir | String | Reference Side | Number from |
| gs_bTurnReveal | Boolean | 0 | Turn at Reveal |
| gs_nOutsideSkins | Integer | 1 | Number of Outside Skins |
| gs_bJoint | Boolean | 1 | Insert Insulation Strip |
| gs_thkJoint | Length | 0.025 | Strip Thickness |
| gs_penJoint | PenColor | 100 | Strip Contour Pen |
| gs_ltJoint | LineType | 1 | Strip Contour Linetype |
| gs_fillJoint | FillPattern | 17 | Strip Fill Type |
| gs_penJointFg | PenColor | 1 | Strip Fill Pen |
| gs_penJointBg | PenColor | 93 | Strip Fill Background Pen |
| gs_widthPlug | Length | 0.075 | Profile Width |
| gs_penPlug | PenColor | 100 | Profile Contour Pen |
| gs_ltPlug | LineType | 1 | Profile Contour Linetype |
| gs_fillPlug | FillPattern | 17 | Profile Fill Type |
| gs_penPlugFg | PenColor | 1 | Profile Fill Pen |
| gs_penPlugBg | PenColor | 93 | Profile Fill Background Pen |
| gs_window_oversize | Title | --- | Oversize |
| gs_left_oversize | Length | 0 | Left Opening Oversize |
| gs_right_oversize | Length | 0 | Right Opening Oversize |
| gs_upper_oversize | Length | 0 | Upper Opening Oversize |
| gs_lower_oversize | Length | 0 | Lower Opening Oversize |
| gs_window_stack | Title | --- | Stacked Window |
| gs_stack_left | Boolean | 0 | Connection on the Left |
| gs_stack_right | Boolean | 0 | Connection on the Right |
| gs_stack_top | Boolean | 0 | Connection on the Top |
| gs_stack_bottom | Boolean | 0 | Connection on the Bottom |
| gs_parapet_wall_inset | Boolean | 0 | Parapet Wall Inset |
| gs_parapet_inset_thk | Length | 0.05 | Depth of Inset |
| gs_2D_representation | Title | --- | 2D Representation |
| gs_pen_2D | PenColor | 3 | Symbol Pen |
| gs_trim_pen_cont | PenColor | 0 | Trim Contour Pen |
| gs_wcont_line | String | Off | Wall Contour Line |
| gs_wcont_line_in | LineType | 4 | Wall Contour Line Type Inside |
| gs_wcont_line_out | LineType | 4 | Wall Contour Line Type Outside |
| gs_bFills | Boolean | 1 | Use Fills |
| gs_wallhole_fill | FillPattern | 65 | Plan Symbol Fill Type |
| gs_wallhole_pen_fg | PenColor | 91 | Plan Symbol Fill Pen |
| gs_wallhole_pen_bg | PenColor | 91 | Plan Symbol Fill Background Pen |
| gs_sill_fill | FillPattern | 65 | Sill Section Fill Type |
| gs_sill_pen_fg | PenColor | 91 | Sill Section Fill Pen |
| gs_sill_pen_bg | PenColor | 91 | Sill Section Fill Backg. Pen |
| gs_board_fill | FillPattern | 65 | Board Section Fill Type |
| gs_board_pen_fg | PenColor | 91 | Board Section Fill Pen |
| gs_board_pen_bg | PenColor | 91 | Board Section Fill Backg. Pen |
| gs_trim_fill_in | FillPattern | 65 | Trim Fill Type Inside |
| gs_trim_pen_fg_in | PenColor | 91 | Trim Fill Pen Inside |
| gs_trim_pen_bg_in | PenColor | 91 | Trim Fill Background Pen Inside |
| gs_trim_fill_out | FillPattern | 65 | Trim Fill Type Outside |
| gs_trim_pen_fg_out | PenColor | 91 | Trim Fill Pen Outside |
| gs_trim_pen_bg_out | PenColor | 91 | Trim Fill Background Pen Outsid |
| gs_masonry_arch_fill | FillPattern | 65 | Arch Section Fill Type |
| gs_masonry_arch_pen_fg | PenColor | 91 | Arch Sill Section Fill Pen |
| gs_masonry_arch_pen_bg | PenColor | 91 | Arch Section Fill Backg. Pen |
| gs_fillShutter | FillPattern | 65 | Shutter Fill Type |
| gs_penShutter_fg | PenColor | 91 | Shutter Fill Pen |
| gs_penShutter_bg | PenColor | 91 | Shutter Fill Background Pen |
| gs_3D_representation | Title | --- | 3D Representation |
| gs_masonry_arch_pen | PenColor | 2 | Masonr A rch 3D Contour Pen |
| res | Integer | 12 | Curve Resolution |
| gs_window_material | Title | --- | Materials |
| gs_grill_mat | Material | 15 | Mullion Material |
| gs_trim_in_mat | Material | 15 | Interior Trim Material |
| gs_trim_out_mat | Material | 54 | Exterior Trim Material |
| gs_shut_frame_mat | Material | 15 | Shutter Frame Material |
| gs_shut_fill_mat | Material | 15 | Shutter Filling Material |
| gs_sill_mat | Material | 15 | Sill Material |
| gs_board_mat | Material | 15 | Board Material |
| ac_details | Title | --- | AC Details |
| ac_left_oversize | Length | 0.025 | AC Left Opening Oversize |
| ac_right_oversize | Length | 0.025 | AC Right Opening Oversize |
| ac_upper_oversize | Length | 0.025 | AC Upper Opening Oversize |
| ac_lower_oversize | Length | 0 | AC Lower Opening Oversize |
| gs_window_nominal_size | Title | --- | Window Nominal Size |
| gs_nominal_size_jamb_inner | Boolean | 0 | Nominal Size = Jamb Inner Size |
| --- | --- | --- | String Resources |
| gs_stGeneralSettings | String | String Resource | |
| gs_stCompatibility | String | String Resource | |
| gs_stParamLevel | String | String Resource | |
| gs_stWindowSillTrim | String | String Resource | |
| gs_stCavityClosure | String | String Resource | |
| gs_stWallholeCut | String | String Resource | |
| gs_stShutter | String | String Resource | |
| gs_stMasonryArch | String | String Resource |
3. Usage
Localization
The macro's default language is the English, but you can localize it with the following parameters:
gs_stGeneralSettings parameter
| Row | Default value | Description |
|---|---|---|
| 1 | Previous | UI Button text |
| 2 | Next | UI Button text |
| 3 | General Settings | Tabpage name |
| 4 | Nominal Width | UI String - A (for windows) |
| 5 | Nominal Height | UI String - B (for windows) |
| 6 | Wallhole Width | UI String (for windows) |
| 7 | Wallhole Height | UI String (for windows) |
| 8 | Oversize | UI String - static text |
| 9 | Left | UI String - gs_oversize_left |
| 10 | Right | UI String - gs_oversize_right |
| 11 | Upper | UI String - gs_oversize_upper |
| 12 | Lower | UI String - gs_oversize_lower |
| 13 | Casing Out | UI String - gs_trim_outside |
| 14 | Casing In | UI String - gs_trim_inside |
| 15 | Sill Out | UI String - gs_sill_outside |
| 16 | Sill In | UI String - gs_board_inside |
| 17 | Ganging | UI String - static text |
| 18 | 2D Detail Level | UI String - gs_detlevel_2D |
| 19 | 3D Detail Level | UI String - gs_detlevel_3D |
| 20 | Symbol Pen | UI String - gs_pen_2D |
| 21 | Use Fills | UI String - gs_bFills |
| 22 | Nominal Opening | UI String - gs_nominal (for doors) |
| 23 | Leaf Sizes | UI String - gs_door_siz_typ (for doors) |
| 24 | Leaf Width | UI String - gs_leaf_w (for doors) |
| 25 | Leaf Height | UI String - gs_leaf_h (for doors) |
| 26 | Typical Sizes | UI String - gs_typ_size (for doors) |
| 27 | Width | UI String - A (for doors) |
| 28 | Height | UI String - B (for doors) |
| 29 | Wallhole | UI String - static text (for doors) |
| 30 | Width | UI String (for doors) |
| 31 | Height | UI String (for doors) |
gs_stCompatibility parameter
| Row | Default value | Description |
|---|---|---|
| 1 | Off | Value list item - ln / gs_conecting |
| 2 | Left Side | Value list item - ln / gs_conecting |
| 3 | Right Side | Value list item - ln / gs_conecting |
| 4 | Both Sides | Value list item - ln / gs_conecting |
gs_stParamLevel parameter
| Row | Default value | Description |
|---|---|---|
| 1 | High | Value list item - gs_param_level |
| 1 | Low | Value list item - gs_param_level |
gs_stWindowSillTrim parameter
| Row | Default value | Description |
|---|---|---|
| 1 | Off | Value list item - gs_window_trim |
| 2 | Inside | Value list item - gs_window_trim |
| 3 | Outside | Value list item - gs_window_trim |
| 4 | Both Sides | Value list item - gs_window_trim |
| 5 | Off | Value list item - gs_window_sill |
| 6 | Inside | Value list item - gs_window_sill |
| 7 | Outside | Value list item - gs_window_sill |
| 8 | Both Sides | Value list item - gs_window_sill |
| 9 | Timber Sill | Value list item - gs_sill_type |
| 10 | Brick Sill | Value list item - gs_sill_type |
| 11 | Stone Sill | Value list item - gs_sill_type |
| 12 | Off | Value list item - gs_wcont_line |
| 13 | Inside | Value list item - gs_wcont_line |
| 14 | Outside | Value list item - gs_wcont_line |
| 15 | Both Sides | Value list item - gs_wcont_line |
| 16 | Trim Settings | UI String - tabpage name |
| 17 | General Geometry | UI String - static text (title of the left pane) ! not used by now |
| 18 | Trim Position | UI String - static text - gs_window_trim |
| 19 | Trim Oversize | UI String - static text - gs_trim_oversize |
| 20 | Inside | UI String - static text |
| 21 | Outside | UI String - static text |
| 22 | Appearance | UI String - static text (title of the right pane) ! not used by now |
| 23 | Material Inside | UI String - static text - gs_trim_in_mat |
| 24 | Material Outside | UI String - static text - gs_trim_out_mat |
| 25 | Sill and Board Settings | UI String - static text - gs_window_sill |
| 26 | Sill Position | UI String - static text - gs_window_sill |
| 27 | Sill Oversize | UI String - static text - gs_sill_oversize |
| 28 | Sill Type | UI String - static text - gs_sill_type |
| 29 | Sill | UI String - static text (not used) |
| 30 | Board | UI String - static text (not used) |
| 31 | Sill Material | UI String - static text - gs_sill_mat |
| 32 | Board Material | UI String - static text - gs_board_mat |
| 33 | Attributes - Sill, Board, Trim, Wall | UI String - tabpage name |
| 34 | Overhang Left | UI String - gs_sill_ovhg_left |
| 35 | Overhang Right | UI String - gs_sill_ovhg_right |
| 36 | Slip in Depth | UI String - gs_sill_slip_in |
| 37 | Is Curved in Curved Walls | UI String - gs_sill_curved |
| 38 | Board | UI String - title |
| 39 | Overhang Left | UI String - gs_board_ovhg_left |
| 40 | Overhang Right | UI String - gs_board_ovhg_right |
| 41 | Slip in Depth | UI String - gs_board_slip_in |
| 42 | Is Curved in Curved Walls | UI String - gs_board_curved |
| 43 | Fill | UI String - title |
| 44 | Fill Type | UI String - title |
| 45 | Fill Pen | UI String - title |
| 46 | Background Pen | UI String - title |
| 47 | Plan Symbol | UI String - title |
| 48 | Sill | |
| 49 | Board | |
| 50 | Trim | |
| 51 | Inside | |
| 52 | Outside | |
| 53 | Contour Pen | UI String - gs_trim_pen_cont |
| 54 | Wall | UI String - title |
| 55 | Contour Line | UI String - gs_wcont_line |
| 56 | Line Type Inside | UI String - gs_wcont_line_in |
| 57 | Line Type Outside | UI String - gs_wcont_line_out |
| 58 | Casing Out | UI String - General tabpage |
| 59 | Casing In | UI String - General tabpage |
| 60 | Sill Out | UI String - General tabpage |
| 61 | Sill In | UI String - General tabpage |
| 62 | Ganging | UI String - General tabpage |
gs_stCavityClosure parameter
| Row | Default value | Description |
|---|---|---|
| 1 | None | Value list item - gs_closureMethod |
| 2 | Traditional | Value list item - gs_closureMethod |
| 3 | Prefabricated | Value list item - gs_closureMethod |
| 4 | Reference side | Value list item - gs_nTurnDir |
| 5 | Opposite side | Value list item - gs_nTurnDir |
| 6 | Both | Value list item - gs_cavity_side |
| 7 | Left | Value list item - gs_cavity_side |
| 8 | Right | Value list item - gs_cavity_side |
| 9 | Cavity Closure and Custom Reveal | UI String - tabpage name |
| 10 | Cavity Closure | UI String - static text (title of the upper left pane) |
| 11 | Closure Method | UI String - gs_closureMethod |
| 12 | Cavity Side | UI String - static text - gs_cavity_side |
| 13 | Number of Turned Skins | UI String - gs_nTurn |
| 14 | Number from | UI String - gs_nTurnDir |
| 15 | Turn at Reveal | UI String - gs_bTurnReveal |
| 16 | Insulation Strip | UI String - gs_bJoint |
| 17 | Thickness | UI String - gs_thkJoint |
| 18 | Contour Pen | UI String - gs_penJoint and gs_penPlug |
| 19 | Line Type | UI String - gs_ltJoint and gs_ltPlug |
| 20 | Fill Type | UI String - gs_fillJoint and gs_fillPlug |
| 21 | Fill Pen | UI String - gs_penJointFg and gs_penPlugFg |
| 22 | Fill Back. Pen | UI String - gs_penJointBg and gs_penPlugBg |
| 23 | Profile | UI String - static text |
| 24 | Width | UI String - gs_widthPlug |
| 25 | Turn Plaster | UI String - static text |
| 26 | Reference-Side | UI String - gs_bOverOut |
| 27 | Opposite-Side | UI String - gs_bOverIn |
gs_stWallholeCut parameter
| Row | Default value | Description |
|---|---|---|
| 1 | Negative Reveal | Value list item - gs_reveal_type |
| 2 | Slanted Reveal | Value list item - gs_reveal_type |
| 3 | Custom Reveal | UI String - static text - Custom Reveal tabpage |
| 4 | Custom Reveal Sizes | UI String - static text - Custom Reveal tabpage |
| 5 | Parapet Wall Inset | UI String - gs_parapet_wall_inset |
| 6 | Depth | UI String - gs_parapet_inset_thk |
| 7 | Custom Reveal | UI String - General tabpage (windows) |
| 8 | Reveal Type | UI String - General tabpage (windows) |
gs_stShutter parameter
| Row | Default value | Description |
|---|---|---|
| 1 | Off | Value list item - gs_window_shutter |
| 2 | Style 1 | Value list item - gs_window_shutter |
| 3 | Style 2 | Value list item - gs_window_shutter |
| 4 | Style 3 | Value list item - gs_window_shutter |
| 5 | Style 4 | Value list item - gs_window_shutter |
| 6 | Style 5 | Value list item - gs_window_shutter |
| 7 | Style 6 | Value list item - gs_window_shutter |
| 8 | Style 7 | Value list item - gs_window_shutter |
| 9 | Decorative | Value list item - gs_shutter_type |
| 10 | Functional | Value list item - gs_shutter_type |
| 11 | Both Sides | Value list item - gs_shutter_pos |
| 12 | Right Side | Value list item - gs_shutter_pos |
| 13 | Left Side | Value list item - gs_shutter_pos |
| 14 | Shutter Settings | UI String - tabpage name |
| 15 | Materials | UI String - static text (title of the materials pane) |
| 16 | Fills | UI String - static text (title of the fills pane) |
| 17 | Shutter Style | UI String - static text - gs_shutter_type |
| 18 | Shutter Width | UI String - static text - gs_shutter_width |
| 19 | Shutter Position | UI String - static text - gs_shutter_pos |
| 20 | Close Shutter | UI String - static text - gs_shut_open |
| 21 | Frame | UI String - static text - gs_shut_frame_mat |
| 22 | Filling | UI String - static text - gs_shut_fill_mat |
| 23 | Fill Type | UI String - gs_fillShutter |
| 24 | Fill Pen | UI String - gs_penShutter_fg |
| 25 | Background Pen | UI String - gs_penShutter_bg |
gs_stMasonryArch parameter
| Row | Default value | Description |
|---|---|---|
| 1 | Off | value list item of gs_masonry_arch |
| 2 | Masonry Straight Arch | value list item of gs_masonry_arch |
| 3 | Masonry Jack Arch | value list item of gs_masonry_arch |
| 4 | Masonry Jack Arch with Keystone | value list item of gs_masonry_arch |
| 5 | Masonry Segmental Arch | value list item of gs_masonry_arch |
| 6 | Masonry Segmental Arch with Keystone | value list item of gs_masonry_arch |
| 7 | Masonry Bullseye Arch | value list item of gs_masonry_arch |
| 8 | Stucco Arch | value list item of gs_masonry_arch_structure |
| 9 | Brick Arch | value list item of gs_masonry_arch_structure |
Parameter Script
For implementing the parameter logic of the MasonryArch, you have to call this macro passing the following parameters to it.
! ============================================================================= ! GS Corner Window Functions ! ============================================================================= call "GS Corner Window Functions.gsm", parameters all iWindowShape = iWindowShape, gs_IsCurved = gs_IsCurved, ln = ln, bDisabeMirroring = bDisabeMirroring, gs_stCompatibility = gs_stCompatibility, gs_stParamLevel = gs_stParamLevel, gs_stCavityClosure = gs_stCavityClosure, gs_stWallholeCut = gs_stWallholeCut, gs_stWindowSillTrim = gs_stWindowSillTrim, gs_stShutter = gs_stShutter, gs_stMasonryArch = gs_stMasonryArch
2D Script
In this kind of script the window object has to contain the following code lines.
In addition, it has to empty the transformation stack before calling this macro (eg. with a del top command)
! ============================================================================= ! GS Corner Window Functions ! ============================================================================= call "GS Corner Window Functions.gsm", parameters all gs_IsCurved = gs_IsCurved, lod2D = lod2D, bOpeningDirection = bOpeningDirection, bDisabeMirroring = bDisabeMirroring, gs_stWindowSillTrim = gs_stWindowSillTrim, gs_stCavityClosure = gs_stCavityClosure, gs_stWallholeCut = gs_stWallholeCut, gs_stShutter = gs_stShutter, returned_parameters A, gs_frame_ovhg_left_out, gs_frame_ovhg_right_out, gs_frame_ovhg_left_in, gs_frame_ovhg_right_in, bMirrored, addPrmX, addPrmY, mulPrmX, mulPrmY add2 addPrmX, addPrmY mul2 mulPrmX, mulPrmY
3D Script
In this kind of script the window has to contain the following code lines.
It has to empty the transformation stack before calling this macro (eg. with a del top command)
! ============================================================================= ! GS Corner Window Functions ! ============================================================================= call "GS Corner Window Functions.gsm", parameters all iWindowShape = iWindowShape, windowArchHeight = windowArchHeight, gs_IsCurved = gs_IsCurved, lod3D = lod3D, bOpeningDirection = bOpeningDirection, bDisabeMirroring = bDisabeMirroring, gs_stWindowSillTrim = gs_stWindowSillTrim, gs_stCavityClosure = gs_stCavityClosure, gs_stWallholeCut = gs_stWallholeCut, gs_stShutter = gs_stShutter, gs_stMasonryArch = gs_stMasonryArch, returned_parameters A, B, gs_frame_ovhg_left_out, gs_frame_ovhg_right_out, gs_frame_ovhg_top_out, gs_frame_ovhg_bottom_out, gs_frame_ovhg_left_in, gs_frame_ovhg_right_in, gs_frame_ovhg_top_in, gs_frame_ovhg_bottom_in, bMirrored, xform11, xform12, xform13, xform14, xform21, xform22, xform23, xform24, xform31, xform32, xform33, xform34 if lod3D = 0 then end xform xform11, xform12, xform13, xform14, xform21, xform22, xform23, xform24, xform31, xform32, xform33, xform34
UI Script
For implementing the user interface page in your object, just call the macro from the UI script.
titleFrame = `Frame and Sash` titleAttr = `Attributes - General,Frame,Sash` ! ============================================================================= ui_dialog uiDialogTitle dim gs_stUI[] dim gs_icoUI[] dim gs_idUI[] i=1 gs_stUI[i] = "": gs_icoUI[i] = "": gs_idUI[i] = 1: i=i+1 ! Built-in General Settings gs_stUI[i] = titleFrame: gs_icoUI[i] = "ui_tabpage_framesash.png": gs_idUI[i] = 0: i=i+1 gs_stUI[i] = "": gs_icoUI[i] = "": gs_idUI[i] = 2: i=i+1 ! Built-in Trim Settings gs_stUI[i] = "": gs_icoUI[i] = "": gs_idUI[i] = 3: i=i+1 ! Built-in Sill Settings gs_stUI[i] = "": gs_icoUI[i] = "": gs_idUI[i] = 5: i=i+1 ! Built-in Shutter Settings gs_stUI[i] = "": gs_icoUI[i] = "": gs_idUI[i] = 6: i=i+1 ! Built-in Cavity Closure Settings gs_stUI[i] = "": gs_icoUI[i] = "": gs_idUI[i] = 7: i=i+1 ! Built-in Masonry Arch Settings gs_stUI[i] = titleAttr: gs_icoUI[i] = "ui_tabpage_attributes.png": gs_idUI[i] = 0: i=i+1 gs_stUI[i] = "": gs_icoUI[i] = "": gs_idUI[i] = 4: i=i+1 ! Built-in Trim and Sill Attributes call "GS Corner Window Functions.gsm", parameters all bOpeningDirection = bOpeningDirection, gs_idUI = gs_idUI, gs_stUI = gs_stUI, gs_icoUI = gs_icoUI, iWindowShape = iWindowShape, gs_stGeneralSettings = gs_stGeneralSettings, gs_stWindowSillTrim = gs_stWindowSillTrim, gs_stCavityClosure = gs_stCavityClosure, gs_stWallholeCut = gs_stWallholeCut, gs_stShutter = gs_stShutter, gs_stMasonryArch = gs_stMasonryArch, returned_parameters myPage_FrameSettingsId, myPage_2DSettingsId if 0 then ! Image references for archive plan saving... ui_pict "ui_tabpage_framesash.png", 0,0 ui_pict "ui_tabpage_attributes.png", 0,0 endif
titleFrame = `Frame and Sash` titleAttr = `Attributes - General,Frame,Sash` ! ========================================================================= ui_dialog uiDialogTitle dim gs_stUI[] dim gs_icoUI[] dim gs_idUI[] i=1 gs_stUI[i] = "" gs_icoUI[i] = "" gs_idUI[i] = 1 ! Built-in General Settings i=i+1 gs_stUI[i] = titleFrame gs_icoUI[i] = "ui_tabpage_framesash.png" gs_idUI[i] = 0 i=i+1 gs_stUI[i] = "" gs_icoUI[i] = "" gs_idUI[i] = 2 ! Built-in Trim Settings i=i+1 gs_stUI[i] = "" gs_icoUI[i] = "" gs_idUI[i] = 3 ! Built-in Sill Settings i=i+1 gs_stUI[i] = "" gs_icoUI[i] = "" gs_idUI[i] = 5 ! Built-in Shutter Settings i=i+1 gs_stUI[i] = "" gs_icoUI[i] = "" gs_idUI[i] = 6 ! Built-in Cavity Closure Settings i=i+1 gs_stUI[i] = "" gs_icoUI[i] = "" gs_idUI[i] = 7 ! Built-in Masonry Arch Settings i=i+1 gs_stUI[i] = titleAttr gs_icoUI[i] = "ui_tabpage_attributes.png" gs_idUI[i] = 0 i=i+1 gs_stUI[i] = "" gs_icoUI[i] = "" gs_idUI[i] = 4 ! Built-in Trim and Sill Attributes i=i+1 call "GS Corner Window Functions.gsm", parameters all bOpeningDirection = bOpeningDirection, gs_idUI = gs_idUI, gs_stUI = gs_stUI, gs_icoUI = gs_icoUI, iWindowShape = iWindowShape, gs_stGeneralSettings = gs_stGeneralSettings, gs_stWindowSillTrim = gs_stWindowSillTrim, gs_stCavityClosure = gs_stCavityClosure, gs_stWallholeCut = gs_stWallholeCut, gs_stShutter = gs_stShutter, gs_stMasonryArch = gs_stMasonryArch, returned_parameters myPage_FrameSettingsId, myPage_2DSettingsId if 0 then ! Image references for archive plan saving... ui_pict "ui_tabpage_framesash.png", 0,0 ui_pict "ui_tabpage_attributes.png", 0,0 endif