Wallhole Framing Macro
1. General Description
.
2. Parameters
| Name | Type | Description |
|---|---|---|
| AC_Sill_To_Curr_Story | ![]() |
"Sill Height To Current Story" |
| AC_WallContours | ![]() |
Wall Contours (0-None,1-Full,2-Side,3-Length) |
| AC_Hole_Hotspot_Control | ![]() |
Hotspots 0-None,1-2D,2-3D,3-All |
| AC_Hole_Display_Option | ![]() |
Floor plan display option |
| AC_Hole_Position_Angle | ![]() |
Hole Position Angle |
| AC_HoleSideMaterial | ![]() |
Hole Has Wall's Side Material |
| AC_HoleMaterialCurved | ![]() |
Hole Material's Split is Curved |
| AC_WallType | ![]() |
Wall type
|
| AC_WindowInWallContour | ![]() ![]() |
Window in Wall Contour |
| AC_WallContourPolygon | ![]() ![]() |
Wall contour polygon definition (only for polygonal walls) |
| AC_Wall_Direction_Type | ![]() |
Wall direction type
|
| iDemolitionOrNew | ![]() |
"Demolition / New construction" |
| gs_new_symb_fill | ![]() |
"New Wall Fill Type" |
| gs_new_symb_pen_Fg | ![]() |
"New Wall Fill Pen" |
| gs_new_symb_pen_bg | ![]() |
"New Wall Fill Background Pen" |
| gs_new_symb_width_r | ![]() |
"New Wall Fill Width Right" |
| gs_new_symb_width_l | ![]() |
"New Wall Fill Width Left" |
| gs_bShowNewOnCC | ![]() |
"Show new construction on Wall" |
| gs_wallhole_geometry | ![]() |
"Wallhole Geometry" |
| refWidth | ![]() |
"Curved Wall - Reference Width" |
| leftWidth | ![]() |
"Left Offset from the Origo" |
| rightWidth | ![]() |
"Right Offset from the Origo" |
| openingHeight | ![]() |
"" |
| iRevealType | ![]() |
"Reveal Type" |
| leftWallholeRevealPnts | ![]() ![]() |
"Left Reveal Points" |
| rightWallholeRevealPnts | ![]() ![]() |
"Right Reveal Points" |
| iRevealPointsIdx | ![]() ![]() |
"Reveal Points Index" |
| bAddPoint | ![]() ![]() |
"Additional Plaster Points" |
| radSill | ![]() |
"Curved Wall - Sill Radius" |
| radBoard | ![]() |
"Curved Wall - Board Radius" |
| WOD | ![]() |
"Curved Wall - Wall Center Distance" |
| overSizeLeft | ![]() |
"" |
| overSizeRight | ![]() |
"" |
| overSizeUpper | ![]() |
"" |
| overSizeLower | ![]() |
"" |
| lineSections | ![]() ![]() |
"" |
| possibleSkinTurnIn | ![]() |
"" |
| possibleSkinTurnOut | ![]() |
"" |
| maxSkinTurnIn | ![]() |
"" |
| maxSkinTurnOut | ![]() |
"" |
| nSkinTurnIn | ![]() |
"" |
| nSkinTurnOut | ![]() |
"" |
| gs_door_frame | ![]() |
"Door Frame" |
| gs_frame_style_m | ![]() |
"Frame Style 1,2,3" |
| gs_frame_width | ![]() |
"" |
| gs_uniform_framewidth | ![]() |
"" |
| gs_frame_width_left | ![]() |
"" |
| gs_frame_width_right | ![]() |
"" |
| gs_function_control_parameters | ![]() |
"Function Control Parameters" |
| bEnablePlasterLeftIn | ![]() |
"Enable/Disable Left In Plaster Turn" |
| bEnablePlasterLeftOut | ![]() |
"Enable/Disable Left Out Plaster Turn" |
| bEnablePlasterRightIn | ![]() |
"Enable/Disable Right In Plaster Turn" |
| bEnablePlasterRightOut | ![]() |
"Enable/Disable Right Out Plaster Turn" |
| bEnableParapetInset | ![]() |
"Enable/Disable Parapet Wall Inset" |
| bEnableMasonryArch | ![]() |
"Enable/Disable Masonry Arch Function" |
| bEnableFaschen | ![]() |
"Enable/Disable Ornamental Window Moldings" |
| gs_RevealTypeEnable | ![]() |
"Reveal and Closure Type Enable Mask" |
| gs_macro_control_parameters | ![]() |
"Macro Control Parameters" |
| gs_macro_version | ![]() |
"Macro Version" |
| iWindowShape | ![]() |
"Window Shape" |
| openingArchHeight | ![]() |
"Arch Height" |
| bMirroredOpening | ![]() |
"Mirrored Opening" |
| nArchResolution | ![]() |
"Arch Resolution" |
| smallRadiusEllips | ![]() |
"smaller radius of ellips arch" |
| gs_numOfSides | ![]() |
"Num of Sides in multiside openings" |
| leftWindowWidth | ![]() |
"" |
| rightWindowWidth | ![]() |
"" |
| leftParapetHeight | ![]() |
"" |
| rightParapetHeight | ![]() |
"Arch Resolution" |
| isWindow | ![]() |
"Window or Door Type Object" |
| gs_IsCurved | ![]() |
"Curved Window" |
| bParalellInCurvedWalls | ![]() |
"Parallel Opening in Curved Walls" |
| lod3D | ![]() |
"3D Detail Level" |
| bForceContinousMode | ![]() |
"Force Continuous Mode" |
| bDrawSillFill | ![]() |
"Draw Wallhole Fill at Sill Side" |
| bDrawBoardFill | ![]() |
"Draw Wallhole Fill at Board Side" |
| defaultSillDepth | ![]() |
"Default Sill Depth" |
| bCut3DWallhole | ![]() |
"Cut 3D Wallhole" |
| ac_cw_debug | ![]() |
"Corner Window Debug Function" |
| ac_cw_function | ![]() |
"Placement Type (1=CW,0=W)" |
| ac_corner_window | ![]() |
"Corner Window Function" |
| bLeftCornerFunction | ![]() |
"Left Corner" |
| leftCornerAngle | ![]() |
"Left Corner Angle" |
| leftConnWallThk | ![]() |
"Left Connected Wall Thickness" |
| bRightCornerFunction | ![]() |
"Right Corner" |
| rightCornerAngle | ![]() |
"Right Corner Angle" |
| rightConnWallThk | ![]() |
"Right Connected Wall Thickness" |
| ac_corner_angle | ![]() |
"Corner Angle" |
| ac_diff_con_wall_thk | ![]() |
"Diff. Conn. Wall Thickness" |
| ac_con_wall_thk | ![]() |
"Connecting Wall Thickness" |
| gs_window_sizes | ![]() |
"Window Sizes" |
| gs_tolerance_left | ![]() |
"Tolerance Left" |
| gs_tolerance_right | ![]() |
"Tolerance Right" |
| gs_tolerance_upper | ![]() |
"Tolerance Upper" |
| gs_tolerance_lower | ![]() |
"Tolerance Lower" |
| ac_wallhole_width | ![]() |
"Wallhole Width" |
| ac_wallhole_height | ![]() |
"Wallhole Height" |
| ac_reveal_width | ![]() |
"Reveal Width" |
| ac_reveal_height | ![]() |
"Reveal Height" |
| ac_unit_width | ![]() |
"Unit Width" |
| ac_unit_height | ![]() |
"Unit Height" |
| gs_wallhole_nominal | ![]() |
"Set Wallhole Size as Nominal Size" |
| gs_reveal_nominal | ![]() |
"Set Reveal Size as Nominal Size" |
| gs_unit_nominal | ![]() |
"Set Unit Size as Nominal Size" |
| gs_leaf_nominal | ![]() |
"Set Leaf Size as Nominal Size" |
| gs_egress_nominal | ![]() |
"Set Egress Size as Nominal Size" |
| gs_wallhole_hotspots | ![]() |
"Show Wallhole Hotspots" |
| gs_reveal_hotspots | ![]() |
"Show Reveal Hotspots" |
| gs_masonry_arch | ![]() |
"Masonry Arch" |
| gs_masonry_arch_structure | ![]() |
"Masonry Arch Type" |
| gs_AutomaticArchHeight | ![]() |
"Arch on Header" |
| gs_MasonryArch_height | ![]() |
"Distance Between Arch and Window" |
| gs_NicheBelowArch | ![]() |
"Niche below Arch" |
| gs_masonry_arch_ovhg_left | ![]() |
"Masonry Arch Overhang Left" |
| gs_masonry_arch_ovhg_right | ![]() |
"Masonry Arch Overhang Right" |
| gs_masonry_arch_rise | ![]() |
"Masonry Arch Rise" |
| gs_masonry_arch_skewback_angle | ![]() |
"Skewback Angle" |
| gs_masonry_arch_proj | ![]() |
"Masonry Arch Projection" |
| gs_masonry_arch_height | ![]() |
"Masonry Arch Height" |
| gs_masonry_arch_depth | ![]() |
"Masonry Arch Depth" |
| gs_masonry_arch_brick_thk | ![]() |
"Brick Thickness" |
| gs_masonry_arch_mort_thk | ![]() |
"Mortar Thickness" |
| gs_masonry_arch_keystone_width | ![]() |
"Keystone Width" |
| gs_masonry_arch_keystone_osize | ![]() |
"Keystone Oversize" |
| gs_masonry_arch_keystone_proj | ![]() |
"Keystone Projection" |
| gs_masonry_arch_brick_mat | ![]() |
"Brick Material" |
| gs_masonry_arch_mort_mat | ![]() |
"Mortar Material" |
| gs_masonry_arch_keystone_mat | ![]() |
"Masonry Arch Keystone Material" |
| gs_reveal_closure_type | ![]() |
"Reveal and Closure Type" |
| AC_wido_sill | ![]() |
"Sill Depth" |
| gs_reveal_type | ![]() |
"Reveal Type" |
| gs_reveal_double_innerType | ![]() |
"Inner Reveal Type" |
| gs_reveal_left | ![]() |
"Left Jamb Depth" |
| gs_reveal_right | ![]() |
"Right Jamb Depth" |
| gs_reveal_splayed_innerLeft | ![]() |
"Inner Left Jamb Depth" |
| gs_reveal_splayed_innerRight | ![]() |
"Inner Right Jamb Depth" |
| gs_reveal_double_innerLeft | ![]() |
"Inner Left Jamb Depth" |
| gs_reveal_double_innerRight | ![]() |
"Inner Right Jamb Depth" |
| revealInnerLeft | ![]() |
"Inner Left Jamb Depth" |
| revealInnerRight | ![]() |
"Inner Right Jamb Depth" |
| gs_reveal_top | ![]() |
"Head Depth" |
| gs_reveal_bottom | ![]() |
"Sill Depth" |
| gs_reveal_splayed_innerTop | ![]() |
"Inner Head Depth" |
| gs_reveal_splayed_innerBottom | ![]() |
"Inner Sill Depth" |
| gs_reveal_double_innerTop | ![]() |
"Inner Head Depth" |
| gs_reveal_double_innerBottom | ![]() |
"Inner Sill Depth" |
| gs_reveal_left_angle | ![]() |
"Left Side Angle" |
| gs_reveal_right_angle | ![]() |
"Right Side Angle" |
| gs_reveal_top_angle | ![]() |
"Upper Side Angle" |
| gs_reveal_bottom_angle | ![]() |
"Bottom Side Angle" |
| gs_useWallFinishSkin | ![]() |
"Use Wall Finish Skins" |
| gs_maxPlasterThk | ![]() |
"Plaster Thickness Limit" |
| gs_turn_plaster | ![]() |
"Turn Plaster" |
| gs_bAutoTurnOut | ![]() |
"Auto Turn Opposite-Side Plaster" |
| gs_bOverOut | ![]() |
"Turn Opposite-Side Plaster" |
| gs_bAutoTurnIn | ![]() |
"Auto Turn Reference-Side Plaster" |
| gs_bOverIn | ![]() |
"Turn Reference-Side Plaster" |
| iClosureType | ![]() |
"Closure Type" |
| gs_cavity_side | ![]() |
"Cavity Side" |
| gs_nTurn | ![]() |
"Number of Turned Skins" |
| gs_nTurnDir | ![]() |
"Number from" |
| gs_bJoint | ![]() |
"Insert Insulation Strip" |
| gs_showJoint | ![]() |
"Show Insulation Strip" |
| gs_thkJoint | ![]() |
"Strip Thickness" |
| gs_penJoint | ![]() |
"Strip Contour Pen" |
| gs_ltJoint | ![]() |
"Strip Contour Linetype" |
| gs_fillJoint | ![]() |
"Strip Fill Type" |
| gs_penJointFg | ![]() |
"Strip Fill Pen" |
| gs_penJointBg | ![]() |
"Strip Fill Background Pen" |
| gs_widthPlug | ![]() |
"Profile Width" |
| gs_penPlug | ![]() |
"Profile Contour Pen" |
| gs_ltPlug | ![]() |
"Profile Contour Linetype" |
| gs_fillPlug | ![]() |
"Profile Fill Type" |
| gs_penPlugFg | ![]() |
"Profile Fill Pen" |
| gs_penPlugBg | ![]() |
"Profile Fill Background Pen" |
| gs_bDoorLining | ![]() |
"Insert Door Lining" |
| gs_wdthDoorLining | ![]() |
"Door Lining Width" |
| gs_thkDoorLining | ![]() |
"Door Lining Thickness" |
| gs_DoorLining_side | ![]() |
"Door Lining Side" |
| gs_DoorLiningDir | ![]() |
"Door Lining on Inside" |
| gs_penDoorLining | ![]() |
"Door Lining Contour Pen" |
| gs_fillDoorLining | ![]() |
"Door Lining Fill Type" |
| gs_penDoorLiningFg | ![]() |
"Door Lining Fill Pen" |
| gs_penDoorLiningBg | ![]() |
"Door Lining Fill Background Pen" |
| gs_custom_cc_array_left | ![]() ![]() |
"Left Side Skin Data" |
| gs_custom_cc_array_right | ![]() ![]() |
"Right Side Skin Data" |
| gs_custom_cc_edit_jamb_side | ![]() |
"Edited Jamb Side" |
| gs_custom_cc_edit_wall_side | ![]() |
"Edited Wall Side" |
| gs_custom_cc_edit_skin | ![]() |
"Edited Skin Number" |
| gs_custom_cc_turn_in | ![]() |
"Turn In Skin" |
| gs_custom_cc_thickness_type | ![]() |
"Turn In Thickness" |
| gs_custom_cc_thickness | ![]() |
"Custom Thickness" |
| gs_custom_cc_orientation | ![]() |
"Hatch Orientation" |
| gs_custom_cc_separator | ![]() |
"Separating Line at Turn In" |
| gs_custom_cc_separator_pen | ![]() |
"Separating Line Pen" |
| gs_custom_cc_overhang | ![]() |
"Skin Overhang to Frame Depth" |
| gs_custom_cc_last_sel_side | ![]() |
"Last Selected Side" |
| gs_window_oversize | ![]() |
"Oversize" |
| gs_left_oversize | ![]() |
"Left Opening Oversize" |
| gs_right_oversize | ![]() |
"Right Opening Oversize" |
| gs_upper_oversize | ![]() |
"Upper Opening Oversize" |
| gs_lower_oversize | ![]() |
"Lower Opening Oversize" |
| gs_window_stack | ![]() |
"Ganging" |
| gs_stack_left | ![]() |
"Connection on the Left" |
| gs_stack_right | ![]() |
"Connection on the Right" |
| gs_stack_top | ![]() |
"Connection on the Top" |
| gs_stack_bottom | ![]() |
"Connection on the Bottom" |
| gs_parapet_wall_inset | ![]() |
"Parapet Wall Inset" |
| gs_parapet_inset_thk | ![]() |
"Depth of Inset" |
| gs_parapet_sizes | ![]() |
"Wall Inset Sizes" |
| gs_parapet_width | ![]() |
"Parapet Width" |
| gs_parapet_left | ![]() |
"Overhang Left" |
| gs_parapet_right | ![]() |
"Overhang Right" |
| gs_parapet_height | ![]() |
"Parapet Height" |
| gs_parapet_2D | ![]() |
"Show Hidden Parapet" |
| gs_parapet_bottom | ![]() |
"Wall Inset Bottom at" |
| gs_parapet_botelev | ![]() |
"Bottom Overhang" |
| gs_parapet_line | ![]() |
"Hidden Parapet Line Type" |
| gs_2D_representation | ![]() |
"2D Representation" |
| gs_wcont_line | ![]() |
"Wall Contour Line" |
| gs_wcont_line_in | ![]() |
"Wall Contour Line Type Inside" |
| gs_wcont_line_out | ![]() |
"Wall Contour Line Type Outside" |
| gs_wcont_line_pen | ![]() |
"Wall Contour Line Pen" |
| gs_bFills | ![]() |
"Use Fills" |
| gs_wallhole_fill | ![]() |
"Plan Symbol Fill Type" |
| gs_wallhole_pen_fg | ![]() |
"Plan Symbol Fill Pen" |
| gs_wallhole_pen_bg | ![]() |
"Plan Symbol Fill Background Pen" |
| gs_masonry_arch_fill | ![]() |
"Arch Section Fill Type" |
| gs_masonry_arch_pen_fg | ![]() |
"Arch Sill Section Fill Pen" |
| gs_masonry_arch_pen_bg | ![]() |
"Arch Section Fill Backg. Pen" |
| gs_3D_representation | ![]() |
"3D Representation" |
| gs_masonry_arch_pen | ![]() |
"3D Contour Pen" |
| res | ![]() |
"Curve Resolution" |
| ac_details | ![]() |
"AC Opening Oversize" |
| ac_left_oversize | ![]() |
"AC Left Opening Oversize" |
| ac_right_oversize | ![]() |
"AC Right Opening Oversize" |
| ac_upper_oversize | ![]() |
"AC Upper Opening Oversize" |
| ac_lower_oversize | ![]() |
"AC Lower Opening Oversize" |
| gs_ui_sub_tabpage | ![]() |
"Sub Tabpage Selector" |
| idTab_MasonryArchSettings | ![]() |
"" |
| idTab_CavityClosureSettings | ![]() |
"" |
| idTab_CustomRevealSettings | ![]() |
"" |
| idTab_RevealClouserSettings | ![]() |
"" |
| idTab_BoardSettings | ![]() |
"" |
| idTab_WallInset | ![]() |
"" |
| gs_string_resources | ![]() |
"String Resources" |
| stSubTabpageClosure | ![]() ![]() |
"gs_ui_sub_tab_closure" |
| stRevealClosureTypes | ![]() ![]() |
"gs_reveal_closure_type" |
| stRevealTypes | ![]() ![]() |
"gs_reveal_type" |
| stWallContourLine | ![]() ![]() |
"gs_wcont_line" |
| stCavityClosureSide | ![]() ![]() |
"gs_cavity_side" |
| stCavityClosureTurnDir | ![]() ![]() |
"gs_nTurnDir" |
| stCavityClosureEditedJambSide | ![]() ![]() |
"gs_custom_cc_edit_jamb_side" |
| stCavityClosureEditedWallSide | ![]() ![]() |
"gs_custom_cc_edit_wall_side" |
| stCavityClosureEditedSkinNumber | ![]() ![]() |
"gs_custom_cc_edit_skin" |
| stCavityClosureTurnInThickness | ![]() ![]() |
"gs_custom_cc_thickness_type" |
| stCavityClosureHatchOrientation | ![]() ![]() |
"gs_custom_cc_orientation" |
| stMasonryArchTypes | ![]() ![]() |
"gs_masonry_arch" |
| stMasonryArchStructure | ![]() ![]() |
"gs_masonry_arch_structure" |
| stWallholeCutUI | ![]() ![]() |
"" |
| stCavityClosureUI | ![]() ![]() |
"" |
| stMasonryArchUI | ![]() ![]() |
"" |
| stRevealClusureUITips | ![]() ![]() |
"" |
| gs_transom_display | ![]() |
"Display as Transom" |
| gs_transom_display_pen | ![]() |
"Wall End Line Pen" |
| gs_transom_display_linetype | ![]() |
"Wall End Line Line Type" |
| Ornamental Window Moldings | ![]() |
"Ornamental Window Moldings" |
| gs_faschen_left | ![]() |
"Ornamental Window Molding left" |
| gs_faschen_right | ![]() |
"Ornamental Window Molding Right" |
| gs_faschen_top | ![]() |
"Ornamental Window Molding Top" |
| gs_faschen_bottom | ![]() |
"Ornamental Window Molding Bottom" |
| gs_faschen_typ | ![]() |
"Ornamental Window Molding Type" |
| gs_faschen_A | ![]() |
"Width Left/Right" |
| gs_faschen_C | ![]() |
"Height of Top" |
| gs_faschen_B | ![]() |
"Height of Bottom" |
| gs_faschen_R | ![]() |
"Default Right Side Ornamental Window Molding" |
| gs_faschen_R_height | ![]() |
"Height of the Right Side Ornamental Window Molding" |
| gs_faschen_L | ![]() |
"Default Left Side Ornamental Window Molding" |
| gs_faschen_L_height | ![]() |
"Height of the Left Side Ornamental Window Molding" |
| gs_faschen_t | ![]() |
"Ornamental Window Molding Depth >= Reveal Depth" |
| gs_faschen_width | ![]() |
"Depth of Ornamental Window Molding" |
| gs_faschen_brick_thk | ![]() |
"Brick Thickness" |
| gs_faschen_mort_thk | ![]() |
"Mortar Thickness" |
| gs_faschen_fill | ![]() |
"Section Fill Type" |
| gs_faschen_fg | ![]() |
"Section Fill Pen" |
| gs_faschen_bg | ![]() |
"Section Fill Backg. Pen" |
| gs_faschen_pen | ![]() |
"3D Contour Pen" |
| gs_faschen_plaster_mat | ![]() |
"Plaster Material" |
| gs_faschen_brick_mat | ![]() |
"Brick Material" |
| gs_faschen_mort_mat | ![]() |
"Mortar Material" |
| gs_faschen_type | ![]() ![]() |
"Ornamental Window Molding Type string" |
| gs_ui_sub_tab_closure | ![]() |
"Closure Subpage" |
| gs_head_symbol | ![]() |
"Head/Threshold Plan Symbol" |
| gs_head_symbol_line | ![]() |
"Head/Threshold Symbol Line Type" |
| gs_head_symbol_pen | ![]() |
"Head/Threshold Symbol Pen" |
| gs_sidelight_left | ![]() |
"Left Sidelight" |
| gs_sidelight_width_left | ![]() |
"Left Sidelight Width" |
| gs_sidelight_right | ![]() |
"Right Sidelight" |
| gs_sidelight_width_right | ![]() |
"Right Sidelight Width" |
| gs_door_transom | ![]() |
"Transom" |
| gs_transom_height | ![]() |
"Transom Height" |
| gs_usa_parameters | ![]() |
"USA Parameters" |
| gs_fsill | ![]() |
"Bottom Frame at Sill" |
| iTrim | ![]() |
"" |
| bSill | ![]() |
"Sill" |
| bBoard | ![]() |
"Stool" |
| gs_bvt_m | ![]() |
"" |
| gs_brick_sill_detlev_m | ![]() |
"Brick Sill Detail Level" |
| stBrickVeneerTextUSA | ![]() ![]() |
"" |
| gs_metal | ![]() |
"Metal Window" |
| bBoardElevUsa | ![]() |
"bBoardElevUsa" |
3. Usage
Localization
The macro's default language is the English, but you can localize it with the following parameters:
Example scripts
The following example script demonstrates the usage of this macro:
Master Script
The window object has to define the string tables for the parameters.
! ============================================================================= ! Localization ! ============================================================================= dim stMasonryArchStructure[2] ! gs_masonry_arch_structure stMasonryArchStructure[1] = `Stucco Arch` stMasonryArchStructure[2] = `Brick Arch` dim stSillTypes[11] ! gs_sill_type stSillTypes[ 1] = `Timber Sill` stSillTypes[ 2] = `Brick Sill` stSillTypes[ 3] = `Stone Sill` stSillTypes[ 4] = `Ceramic Sill` stSillTypes[ 5] = `Eternit Sill` stSillTypes[ 6] = `Concrete Tub` stSillTypes[ 7] = `Aluminum Sill` stSillTypes[ 8] = `Solid Sill 1.1` stSillTypes[ 9] = `Solid Sill 1.2` stSillTypes[10] = `Solid Sill` stSillTypes[11] = `Metal Sheet` dim stCasing[4] stCasing[1] = `Off` stCasing[2] = `Inside` stCasing[3] = `Outside` stCasing[4] = `Both Sides` dim stShutterStyles[8] ! gs_doorwindow_shutter stShutterStyles[1] = `Off` stShutterStyles[2] = `Style 1` stShutterStyles[3] = `Style 2` stShutterStyles[4] = `Style 3` stShutterStyles[5] = `Style 4` stShutterStyles[6] = `Style 5` stShutterStyles[7] = `Style 6` stShutterStyles[8] = `Style 7` dim stShutterType[2] ! gs_shutter_type stShutterType[1] = `Decorative` stShutterType[2] = `Functional` dim stShutterPos[3] ! gs_shutter_pos stShutterPos[1] = `Both Sides` stShutterPos[2] = `Right Side` stShutterPos[3] = `Left Side` dim stBsilldetlevel[2] ! gs_brick_sill_detlev stBsilldetlevel[1] = `Simple` stBsilldetlevel[2] = `Detailed` dim stDemolitionOrNew[3] ! gs_DemolitionOrNew stDemolitionOrNew[1] = `None` stDemolitionOrNew[2] = `Demolition` stDemolitionOrNew[3] = `New Construction` dim stCornerConnType[3] ! gs_connTypeRight, gs_connTypeLeft stCornerConnType[1] = `Frame` stCornerConnType[2] = `Corner Column` stCornerConnType[3] = `Glass` dim stParapetBottom[2] ! gs_parapet_bottom stParapetBottom[1] = `Current Story` stParapetBottom[2] = `Wall Base` dim stParapetSize[3] ! gs_parapet_size stParapetSize[1] = `Automatic` stParapetSize[2] = `Symmetric` stParapetSize[3] = `Asymmetric` dim stBoardInPolyWall[2] ! gs_boardInPolyWall stBoardInPolyWall[1] = `Parallel to Window` stBoardInPolyWall[2] = `Parallel to Wall Polygon`
Parameter Script
For implementing the parameter logic of the Window Opening, you have to call this macro passing the following parameters.
! ============================================================================= ! Wallhole Structure ! ============================================================================= call "WallholeFraming" parameters all A = A, iRevealType = iRevealType, leftWallFrameRevealPnts = leftWallFrameRevealPnts, rightWallFrameRevealPnts = rightWallFrameRevealPnts, ! --- Function Control Parameters bEnableSill = bEnableSill, bEnableBoard = bEnableBoard, bEnableThreshold = bEnableThreshold, bEnableCasing = bEnableCasing, bEnableShutter = bEnableShutter, bEnableCustomCornerLeft = bEnableCustomCornerLeft, bEnableCustomCornerRight= bEnableCustomCornerRight, gs_SillTypeEnable = gs_SillTypeEnable, gs_TresholdTypeEnable = gs_TresholdTypeEnable, bBoardInPolyWall = bBoardInPolyWall, ! --- Macro Control Parameters isWindow = 1, iWindowShape = iWindowShape, ! --- Corner Functions bLeftCornerFunction = bLeftCornerFunction, gs_connTypeLeft = gs_connTypeLeft, leftCornerAngle = leftCornerAngle, leftConnWallThk = leftConnWallThk, bRightCornerFunction = bRightCornerFunction, gs_connTypeRight = gs_connTypeRight, rightCornerAngle = rightCornerAngle, rightConnWallThk = rightConnWallThk, ! --- String Resources stSillTypes = stSillTypes, stCasing = stCasing, stShutterStyles = stShutterStyles, stShutterType = stShutterType, stShutterPos = stShutterPos, stBsilldetlevel = stBsilldetlevel, stBoardInPolyWall = stBoardInPolyWall
UI Script
For implementing the user interface page in your object, just call the macro from the UI script.
! ============================================================================= ! Sill, Board, Casing Settings Tabpage ! ============================================================================= dim stSillUI[26] stSillUI[ 1] = `Sill` stSillUI[ 2] = `Sill Type` stSillUI[ 3] = `Overhang Left` stSillUI[ 4] = `Overhang Right` stSillUI[ 5] = `Slip in Depth` stSillUI[ 6] = `Is Curved in Curved Walls` stSillUI[ 7] = `Sill Oversize` stSillUI[ 8] = `Sill Material` stSillUI[ 9] = `Fill Type` stSillUI[10] = `Fill Pen` stSillUI[11] = `Background Pen` stSillUI[12] = `Brick Material` stSillUI[13] = `Mortar Material` stSillUI[14] = `3D Detail Level` stSillUI[15] = `Sill Detail Level` stSillUI[16] = `Check this option if the parapet height should be measured from the top of the sill.` stSillUI[17] = `Brick Thickness` stSillUI[18] = `Mortar Thickness` stSillUI[19] = `Sill Angle` stSillUI[20] = `Sill Thickness` stSillUI[21] = `Sill Nosing` stSillUI[22] = `Sill Width` stSillUI[23] = `Sill Elevation` stSillUI[24] = `Sill End Thickness` stSillUI[25] = `Sill Drip Length` stSillUI[26] = `Sill Drip Width` dim stBoardUI[13] stBoardUI[ 1] = `Board` stBoardUI[ 2] = `Overhang Left` stBoardUI[ 3] = `Overhang Right` stBoardUI[ 4] = `Slip in Depth` stBoardUI[ 5] = `Is Curved in Curved Walls` stBoardUI[ 6] = `Board Material` stBoardUI[ 7] = `Fill Type` stBoardUI[ 8] = `Fill Pen` stBoardUI[ 9] = `Background Pen` stBoardUI[10] = `Board Angle` stBoardUI[11] = `Board Thickness` stBoardUI[12] = `Board Nosing` stBoardUI[13] = `In Polygonal Walls` dim stCasingUI[46] stCasingUI[1] = `Inside` stCasingUI[2] = `Outside` stCasingUI[3] = `Increase Wallhole by Casing` stCasingUI[4] = `Contour Pen` stCasingUI[5] = `Material Inside` stCasingUI[6] = `Material Outside` stCasingUI[7] = `Fill Type` stCasingUI[8] = `Fill Pen` stCasingUI[9] = `Background Pen` stCasingUI[10] = `Cover Outer Wall Surface` stCasingUI[11] = `Cover Inner Wall Surface` stCasingUI[12] = `Casing Width Left Outside` stCasingUI[13] = `Casing Width Right Outside` stCasingUI[14] = `Casing Width Outside` stCasingUI[15] = `Casing Offset Outside` stCasingUI[16] = `Casing Thickness Outside` stCasingUI[17] = `Outer Nosing` stCasingUI[18] = `Casing Width Left Inside` stCasingUI[19] = `Casing Width Right Inside` stCasingUI[20] = `Casing Width Inside` stCasingUI[21] = `Casing Offset Inside` stCasingUI[22] = `Casing Thickness Inside` stCasingUI[23] = `Inner Nosing` stCasingUI[24] = `Casing Width Bottom Outside` stCasingUI[25] = `Casing Width Top Outside` stCasingUI[26] = `Casing Width Bottom Inside` stCasingUI[27] = `Casing Width Top Inside` stCasingUI[28] = `Casing Type Inside` stCasingUI[29] = `Overhang Top Outside` stCasingUI[30] = `Overhang Bottom Outs.` stCasingUI[31] = `Casing Type Outside` stCasingUI[32] = `Overhang Top Inside` stCasingUI[33] = `Overhang Bottom Ins.` stCasingUI[34] = `Trim Width Left Outside` stCasingUI[35] = `Trim Width Right Outside` stCasingUI[36] = `Trim Offset Outside` stCasingUI[37] = `Trim Thickness Outside` stCasingUI[38] = `Trim Width Outside` stCasingUI[39] = `Trim Thickness Top Inside` stCasingUI[40] = `Trim Thickness Left Inside` stCasingUI[41] = `Trim Thickness Right Inside` stCasingUI[42] = `Trim Offset Inside` stCasingUI[43] = `Trim Thickness Inside` stCasingUI[44] = `Trim Width Inside` stCasingUI[45] = `Trim Width Top Outside` stCasingUI[46] = `Trim Width Top Inside` dim stMasonryArchUI[25] stMasonryArchUI[ 1] = `Arch Type` stMasonryArchUI[ 2] = `Overhang` stMasonryArchUI[ 3] = `Left Overhang` stMasonryArchUI[ 4] = `Right Overhang` stMasonryArchUI[ 5] = `Projection` stMasonryArchUI[ 6] = `Rise` stMasonryArchUI[ 7] = `Skewback Angle` stMasonryArchUI[ 8] = `Height` stMasonryArchUI[ 9] = `Depth` stMasonryArchUI[10] = `Brick Thickn.` stMasonryArchUI[11] = `Mortar Thickn.` stMasonryArchUI[12] = `Materials` stMasonryArchUI[13] = `Brick` stMasonryArchUI[14] = `Mortar` stMasonryArchUI[15] = `Keystone` stMasonryArchUI[16] = `Keystone` stMasonryArchUI[17] = `Width` stMasonryArchUI[18] = `Oversize` stMasonryArchUI[19] = `Projection` stMasonryArchUI[20] = `Section Fill` stMasonryArchUI[21] = `Fill Type` stMasonryArchUI[22] = `Fill Pen` stMasonryArchUI[23] = `Background Pen` stMasonryArchUI[24] = `Arch on Header` stMasonryArchUI[25] = `Niche below Arch` dim stShutterUI[21] stShutterUI[ 1] = `Shutter` stShutterUI[ 2] = `Materials` stShutterUI[ 3] = `Section Fill` stShutterUI[ 4] = `Shutter Style` stShutterUI[ 5] = `Shutter Width` stShutterUI[ 6] = `Shutter Position` stShutterUI[ 7] = `Close Shutter` stShutterUI[ 8] = `Frame` stShutterUI[ 9] = `Filling` stShutterUI[10] = `Fill Type` stShutterUI[11] = `Fill Pen` stShutterUI[12] = `Background Pen` stShutterUI[13] = `Frame Width` stShutterUI[14] = `Frame Thickness` stShutterUI[15] = `Louver` stShutterUI[16] = `Width` stShutterUI[17] = `Thickness` stShutterUI[18] = `Angle` stShutterUI[19] = `Div. Width` stShutterUI[20] = `Hor.` stShutterUI[21] = `Vert.` dim stCustomCornerUI[11] stCustomCornerUI[ 1] = `Corner Connection Type` stCustomCornerUI[ 2] = `Custom Corner Left` stCustomCornerUI[ 3] = `Custom Corner Right` stCustomCornerUI[ 4] = `Different Connecting Wall Thickness` stCustomCornerUI[ 5] = `Corner Column Width` stCustomCornerUI[ 6] = `Corner Column Thickness` stCustomCornerUI[ 7] = `Corner Column Projection` stCustomCornerUI[ 8] = `Left Corner Angle` stCustomCornerUI[ 9] = `Right Corner Angle` stCustomCornerUI[10] = `Left Connected Wall Thickness` stCustomCornerUI[11] = `Right Connected Wall Thickness` call "WallholeFraming" parameters all A = A, ! --- Function Control Parameters bEnableSill = bEnableSill, bEnableBoard = bEnableBoard, bEnableThreshold = bEnableThreshold, bEnableCasing = bEnableCasing, bEnableShutter = bEnableShutter, bEnableCustomCornerLeft = bEnableCustomCornerLeft, bEnableCustomCornerRight = bEnableCustomCornerRight, bBoardInPolyWall = bBoardInPolyWall, ! --- Macro Control Parameters isWindow = 1, isOpening = 0, ! --- Corner Functions bLeftCornerFunction = bLeftCornerFunction, leftCornerAngle = leftCornerAngle, leftConnWallThk = leftConnWallThk, bRightCornerFunction = bRightCornerFunction, rightCornerAngle = rightCornerAngle, rightConnWallThk = rightConnWallThk, idTab_SillSettings = idTab_SillSettings, idTab_ThresholdSettings = idTab_ThresholdSettings, idTab_TrimSettings = idTab_TrimSettings, idTab_ShutterSettings = idTab_ShutterSettings, idTab_CustomCornerSettings = idTab_CustomCornerSettings, idTab_BoardSettings = idTab_BoardSettings, ! --- String Resources stSillTypes = stSillTypes, stCasing = stCasing, stShutterStyles = stShutterStyles, stShutterType = stShutterType, stShutterPos = stShutterPos, stSillUI = stSillUI, stBoardUI = stBoardUI, stCasingUI = stCasingUI, stShutterUI = stShutterUI, stCornerConnType = stCornerConnType, stCustomCornerUI = stCustomCornerUI
2D 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)
! ============================================================================= ! Wallhole Framing ! ============================================================================= call "WallholeFraming" parameters all A = A, iDemolitionOrNew = iDemolitionOrNew, refWidth = refWidth, leftWidth = leftWidth, rightWidth = rightWidth, iRevealType = iRevealTypeForDisplay, leftWallFrameRevealPnts = leftWallFrameRevealPnts, rightWallFrameRevealPnts= rightWallFrameRevealPnts, iRevealPointsIdx = iRevealPointsIdx, radSill = radSill, radBoard = radBoard, WOD = WOD, overSizeLeft = overSizeLeft, overSizeRight = overSizeRight, overSizeUpper = overSizeUpper, overSizeLower = overSizeLower, lod2D_sillBoard = lod2D_sillBoard, lod2D_treshold = lod2D_treshold, lod2D_casing = lod2D_casing, lod2D_shutter = lod2D_shutter, ! --- Function Control Parameters bEnableSill = bEnableSill, bEnableBoard = bEnableBoard, bEnableThreshold = bEnableThreshold, bEnableCasing = bEnableCasing, bEnableShutter = bEnableShutter, bEnableCustomCornerLeft = bEnableCustomCornerLeft, bEnableCustomCornerRight= bEnableCustomCornerRight, bBoardInPolyWall = bBoardInPolyWall, ! --- Macro Control Parameters isWindow = 1, gs_IsCurved = gs_IsCurved, bParalellInCurvedWalls = bParalellInCurvedWalls, bCasingTolerance = bCasingTolerance * bShowReveal, ! --- Corner Functions bLeftCornerFunction = bLeftCornerFunction, leftCornerAngle = leftCornerAngle, leftConnWallThk = leftConnWallThk, bRightCornerFunction = bRightCornerFunction, rightCornerAngle = rightCornerAngle, rightConnWallThk = rightConnWallThk, ! --- Reveal and Closure Type gs_reveal_left = gs_reveal_left, gs_reveal_right = gs_reveal_right, revealInnerLeft = revealInnerLeft, revealInnerRight = revealInnerRight, ! --- String Resources stSillTypes = stSillTypes, stCasing = stCasing, stShutterStyles = stShutterStyles, stShutterType = stShutterType, stShutterPos = stShutterPos
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)
! ============================================================================= ! Wallhole Framing ! ============================================================================= call "WallholeFraming" parameters all A = A, refWidth = refWidth, leftWidth = leftWidth, rightWidth = rightWidth, iRevealType = iRevealType, leftWallFrameRevealPnts = leftWallFrameRevealPnts, rightWallFrameRevealPnts= rightWallFrameRevealPnts, iRevealPointsIdx = iRevealPointsIdx, revealInnerLeft = revealInnerLeft, revealInnerRight = revealInnerRight, radSill = radSill, radBoard = radBoard, WOD = WOD, overSizeLeft = overSizeLeft, overSizeRight = overSizeRight, overSizeUpper = overSizeUpper, overSizeLower = overSizeLower, ! --- Function Control Parameters bEnableSill = bEnableSill, bEnableBoard = bEnableBoard, bEnableThreshold = bEnableThreshold, bEnableCasing = bEnableCasing, bEnableShutter = bEnableShutter, bEnableCustomCornerLeft = bEnableCustomCornerLeft, bEnableCustomCornerRight= bEnableCustomCornerRight, bBoardInPolyWall = bBoardInPolyWall, ! --- Macro Control Parameters isWindow = 1, gs_IsCurved = gs_IsCurved, bParalellInCurvedWalls = bParalellInCurvedWalls, bCasingTolerance = bCasingTolerance * bShowReveal, bSillPlaneCut = bSillPlaneCut, bBoardPlaneCut = bBoardPlaneCut, ! --- Corner Functions bLeftCornerFunction = bLeftCornerFunction, leftCornerAngle = leftCornerAngle, leftConnWallThk = leftConnWallThk, bRightCornerFunction = bRightCornerFunction, rightCornerAngle = rightCornerAngle, rightConnWallThk = rightConnWallThk, ! --- String Resources stSillTypes = stSillTypes, stCasing = stCasing, stShutterStyles = stShutterStyles, stShutterType = stShutterType, stShutterPos = stShutterPos, stBsilldetlevel = stBsilldetlevel




![Array[4] Array](images/parameters/pe_arr.png)





