Wallhole Framing Macro
1. General Description
.
2. Parameters
| Name | Type | Description |
|---|---|---|
| AC_Sill_To_Curr_Story | Length | "Sill Height to Current Story" |
| AC_WallContours | Integer | Wall Contours (0-None,1-Full,2-Side,3-Length) |
| AC_Hole_Hotspot_Control | Integer | Hotspots 0-None,1-2D,2-3D,3-All |
| AC_Hole_Display_Option | Integer | Floor plan display option |
| AC_Hole_Position_Angle | Angle | Hole Position Angle |
| AC_HoleSideMaterial | Boolean | Hole Has Wall's Side Material |
| AC_HoleMaterialCurved | Boolean | Hole Material's Split is Curved |
| AC_WallType | Integer | Wall type
|
| AC_WindowInWallContour | Integer Array[4] | Window in Wall Contour |
| AC_WallContourPolygon | Length Array[x][3] | Wall contour polygon definition (only for polygonal walls) |
| AC_Wall_Direction_Type | Integer | Wall direction type
|
| iDemolitionOrNew | Integer | "Demolition / New construction" |
| gs_new_symb_fill | FillPattern | "New Wall Fill Type" |
| gs_new_symb_pen_Fg | PenColor | "New Wall Fill Pen" |
| gs_new_symb_pen_bg | PenColor | "New Wall Fill Background Pen" |
| gs_new_symb_width_r | Length | "New Wall Fill Width Right" |
| gs_new_symb_width_l | Length | "New Wall Fill Width Left" |
| gs_bShowNewOnCC | Boolean | "Show new construction on Wall" |
| gs_wallhole_geometry | Title | "Wallhole Geometry" |
| refWidth | Length | "Curved Wall - Reference Width" |
| leftWidth | Length | "Left Offset from the Origo" |
| rightWidth | Length | "Right Offset from the Origo" |
| openingHeight | Length | "" |
| iRevealType | Integer | "Reveal Type" |
| leftWallholeRevealPnts | Length Array[1][2] | "Left Reveal Points" |
| rightWallholeRevealPnts | Length Array[1][2] | "Right Reveal Points" |
| iRevealPointsIdx | Integer Array[20] | "Reveal Points Index" |
| bAddPoint | Boolean Array[4] | "Additional Plaster Points" |
| radSill | Length | "Curved Wall - Sill Radius" |
| radBoard | Length | "Curved Wall - Board Radius" |
| WOD | Length | "Curved Wall - Wall Center Distance" |
| overSizeLeft | Length | "" |
| overSizeRight | Length | "" |
| overSizeUpper | Length | "" |
| overSizeLower | Length | "" |
| lineSections | Length Array[1][7] | "" |
| possibleSkinTurnIn | Integer | "" |
| possibleSkinTurnOut | Integer | "" |
| maxSkinTurnIn | Integer | "" |
| maxSkinTurnOut | Integer | "" |
| nSkinTurnIn | Integer | "" |
| nSkinTurnOut | Integer | "" |
| gs_door_frame | Title | "Door Frame" |
| gs_frame_style_m | Integer | "Frame Style 1,2,3" |
| gs_frame_width | Length | "" |
| gs_uniform_framewidth | Length | "" |
| gs_frame_width_left | Length | "" |
| gs_frame_width_right | Length | "" |
| gs_function_control_parameters | Title | "Function Control Parameters" |
| bEnablePlasterLeftIn | Boolean | "Enable/Disable Left In Plaster Turn" |
| bEnablePlasterLeftOut | Boolean | "Enable/Disable Left Out Plaster Turn" |
| bEnablePlasterRightIn | Boolean | "Enable/Disable Right In Plaster Turn" |
| bEnablePlasterRightOut | Boolean | "Enable/Disable Right Out Plaster Turn" |
| bEnableParapetInset | Boolean | "Enable/Disable Parapet Wall Inset" |
| bEnableMasonryArch | Boolean | "Enable/Disable Masonry Arch Function" |
| bEnableFaschen | Boolean | "Enable/Disable Ornamental Window Moldings" |
| gs_RevealTypeEnable | Integer | "Reveal and Closure Type Enable Mask" |
| gs_macro_control_parameters | Title | "Macro Control Parameters" |
| gs_macro_version | Integer | "Macro Version" |
| iWindowShape | Integer | "Window Shape" |
| openingArchHeight | Length | "Arch Height" |
| bMirroredOpening | Boolean | "Mirrored Opening" |
| nArchResolution | Integer | "Arch Resolution" |
| smallRadiusEllips | Length | "smaller radius of ellips arch" |
| gs_numOfSides | Integer | "Num of Sides in multiside openings" |
| leftWindowWidth | Length | "" |
| rightWindowWidth | Length | "" |
| leftParapetHeight | Length | "" |
| rightParapetHeight | Length | "Arch Resolution" |
| isWindow | Boolean | "Window or Door Type Object" |
| gs_IsCurved | Boolean | "Curved Window" |
| bParalellInCurvedWalls | Boolean | "Parallel Opening in Curved Walls" |
| lod3D | Integer | "3D Detail Level" |
| bForceContinousMode | Boolean | "Force Continuous Mode" |
| bDrawSillFill | Boolean | "Draw Wallhole Fill at Sill Side" |
| bDrawBoardFill | Boolean | "Draw Wallhole Fill at Board Side" |
| defaultSillDepth | Length | "Default Sill Depth" |
| bCut3DWallhole | Boolean | "Cut 3D Wallhole" |
| ac_cw_debug | Boolean | "Corner Window Debug Function" |
| ac_cw_function | Boolean | "Placement Type (1=CW,0=W)" |
| ac_corner_window | Boolean | "Corner Window Function" |
| bLeftCornerFunction | Boolean | "Left Corner" |
| leftCornerAngle | Angle | "Left Corner Angle" |
| leftConnWallThk | Length | "Left Connected Wall Thickness" |
| bRightCornerFunction | Boolean | "Right Corner" |
| rightCornerAngle | Angle | "Right Corner Angle" |
| rightConnWallThk | Length | "Right Connected Wall Thickness" |
| ac_corner_angle | Angle | "Corner Angle" |
| ac_diff_con_wall_thk | Boolean | "Diff. Conn. Wall Thickness" |
| ac_con_wall_thk | Length | "Connecting Wall Thickness" |
| gs_window_sizes | Title | "Window Sizes" |
| gs_tolerance_left | Length | "Tolerance Left" |
| gs_tolerance_right | Length | "Tolerance Right" |
| gs_tolerance_upper | Length | "Tolerance Upper" |
| gs_tolerance_lower | Length | "Tolerance Lower" |
| ac_wallhole_width | Length | "Wallhole Width" |
| ac_wallhole_height | Length | "Wallhole Height" |
| ac_reveal_width | Length | "Reveal Width" |
| ac_reveal_height | Length | "Reveal Height" |
| ac_unit_width | Length | "Unit Width" |
| ac_unit_height | Length | "Unit Height" |
| gs_wallhole_nominal | Boolean | "Set Wallhole Size as Nominal Size" |
| gs_reveal_nominal | Boolean | "Set Reveal Size as Nominal Size" |
| gs_unit_nominal | Boolean | "Set Unit Size as Nominal Size" |
| gs_leaf_nominal | Boolean | "Set Leaf Size as Nominal Size" |
| gs_egress_nominal | Boolean | "Set Egress Size as Nominal Size" |
| gs_wallhole_hotspots | Boolean | "Show Wallhole Hotspots" |
| gs_reveal_hotspots | Boolean | "Show Reveal Hotspots" |
| gs_masonry_arch | String | "Masonry Arch" |
| gs_masonry_arch_structure | String | "Masonry Arch Type" |
| gs_AutomaticArchHeight | Boolean | "Arch on Header" |
| gs_MasonryArch_height | Length | "Distance Between Arch and Window" |
| gs_NicheBelowArch | Boolean | "Niche below Arch" |
| gs_masonry_arch_ovhg_left | Length | "Masonry Arch Overhang Left" |
| gs_masonry_arch_ovhg_right | Length | "Masonry Arch Overhang Right" |
| gs_masonry_arch_rise | Length | "Masonry Arch Rise" |
| gs_masonry_arch_skewback_angle | Angle | "Skewback Angle" |
| gs_masonry_arch_proj | Length | "Masonry Arch Projection" |
| gs_masonry_arch_height | Length | "Masonry Arch Height" |
| gs_masonry_arch_depth | Length | "Masonry Arch Depth" |
| gs_masonry_arch_brick_thk | Length | "Brick Thickness" |
| gs_masonry_arch_mort_thk | Length | "Mortar Thickness" |
| gs_masonry_arch_keystone_width | Length | "Keystone Width" |
| gs_masonry_arch_keystone_osize | Length | "Keystone Oversize" |
| gs_masonry_arch_keystone_proj | Length | "Keystone Projection" |
| gs_masonry_arch_brick_mat | Material | "Brick Material" |
| gs_masonry_arch_mort_mat | Material | "Mortar Material" |
| gs_masonry_arch_keystone_mat | Material | "Masonry Arch Keystone Material" |
| gs_reveal_closure_type | String | "Reveal and Closure Type" |
| AC_wido_sill | Length | "Sill Depth" |
| gs_reveal_type | String | "Reveal Type" |
| gs_reveal_double_innerType | String | "Inner Reveal Type" |
| gs_reveal_left | Length | "Left Jamb Depth" |
| gs_reveal_right | Length | "Right Jamb Depth" |
| gs_reveal_splayed_innerLeft | Length | "Inner Left Jamb Depth" |
| gs_reveal_splayed_innerRight | Length | "Inner Right Jamb Depth" |
| gs_reveal_double_innerLeft | Length | "Inner Left Jamb Depth" |
| gs_reveal_double_innerRight | Length | "Inner Right Jamb Depth" |
| revealInnerLeft | Length | "Inner Left Jamb Depth" |
| revealInnerRight | Length | "Inner Right Jamb Depth" |
| gs_reveal_top | Length | "Head Depth" |
| gs_reveal_bottom | Length | "Sill Depth" |
| gs_reveal_splayed_innerTop | Length | "Inner Head Depth" |
| gs_reveal_splayed_innerBottom | Length | "Inner Sill Depth" |
| gs_reveal_double_innerTop | Length | "Inner Head Depth" |
| gs_reveal_double_innerBottom | Length | "Inner Sill Depth" |
| gs_reveal_left_angle | Angle | "Left Side Angle" |
| gs_reveal_right_angle | Angle | "Right Side Angle" |
| gs_reveal_top_angle | Angle | "Upper Side Angle" |
| gs_reveal_bottom_angle | Angle | "Bottom Side Angle" |
| gs_useWallFinishSkin | Boolean | "Use Wall Finish Skins" |
| gs_maxPlasterThk | Length | "Plaster Thickness Limit" |
| gs_turn_plaster | Title | "Turn Plaster" |
| gs_bAutoTurnOut | Boolean | "Auto Turn Opposite-Side Plaster" |
| gs_bOverOut | Integer | "Turn Opposite-Side Plaster" |
| gs_bAutoTurnIn | Boolean | "Auto Turn Reference-Side Plaster" |
| gs_bOverIn | Integer | "Turn Reference-Side Plaster" |
| iClosureType | Integer | "Closure Type" |
| gs_cavity_side | String | "Cavity Side" |
| gs_nTurn | Integer | "Number of Turned Skins" |
| gs_nTurnDir | String | "Number from" |
| gs_bJoint | Boolean | "Insert Insulation Strip" |
| gs_showJoint | Boolean | "Show Insulation Strip" |
| gs_thkJoint | Length | "Strip Thickness" |
| gs_penJoint | PenColor | "Strip Contour Pen" |
| gs_ltJoint | LineType | "Strip Contour Linetype" |
| gs_fillJoint | FillPattern | "Strip Fill Type" |
| gs_penJointFg | PenColor | "Strip Fill Pen" |
| gs_penJointBg | PenColor | "Strip Fill Background Pen" |
| gs_widthPlug | Length | "Profile Width" |
| gs_penPlug | PenColor | "Profile Contour Pen" |
| gs_ltPlug | LineType | "Profile Contour Linetype" |
| gs_fillPlug | FillPattern | "Profile Fill Type" |
| gs_penPlugFg | PenColor | "Profile Fill Pen" |
| gs_penPlugBg | PenColor | "Profile Fill Background Pen" |
| gs_bDoorLining | Boolean | "Insert Door Lining" |
| gs_wdthDoorLining | Length | "Door Lining Width" |
| gs_thkDoorLining | Length | "Door Lining Thickness" |
| gs_DoorLining_side | Integer | "Door Lining Side" |
| gs_DoorLiningDir | Boolean | "Door Lining on Inside" |
| gs_penDoorLining | PenColor | "Door Lining Contour Pen" |
| gs_fillDoorLining | FillPattern | "Door Lining Fill Type" |
| gs_penDoorLiningFg | PenColor | "Door Lining Fill Pen" |
| gs_penDoorLiningBg | PenColor | "Door Lining Fill Background Pen" |
| gs_custom_cc_array_left | Length Array[8][4] | "Left Side Skin Data" |
| gs_custom_cc_array_right | Length Array[8][4] | "Right Side Skin Data" |
| gs_custom_cc_edit_jamb_side | String | "Edited Jamb Side" |
| gs_custom_cc_edit_wall_side | String | "Edited Wall Side" |
| gs_custom_cc_edit_skin | String | "Edited Skin Number" |
| gs_custom_cc_turn_in | Boolean | "Turn In Skin" |
| gs_custom_cc_thickness_type | String | "Turn In Thickness" |
| gs_custom_cc_thickness | Length | "Custom Thickness" |
| gs_custom_cc_orientation | String | "Hatch Orientation" |
| gs_custom_cc_separator | Boolean | "Separating Line at Turn In" |
| gs_custom_cc_separator_pen | PenColor | "Separating Line Pen" |
| gs_custom_cc_overhang | Length | "Skin Overhang to Frame Depth" |
| gs_custom_cc_last_sel_side | Boolean | "Last Selected Side" |
| gs_window_oversize | Title | "Oversize" |
| gs_left_oversize | Length | "Left Opening Oversize" |
| gs_right_oversize | Length | "Right Opening Oversize" |
| gs_upper_oversize | Length | "Upper Opening Oversize" |
| gs_lower_oversize | Length | "Lower Opening Oversize" |
| gs_window_stack | Title | "Ganging" |
| gs_stack_left | Boolean | "Connection on the Left" |
| gs_stack_right | Boolean | "Connection on the Right" |
| gs_stack_top | Boolean | "Connection on the Top" |
| gs_stack_bottom | Boolean | "Connection on the Bottom" |
| gs_parapet_wall_inset | Boolean | "Parapet Wall Inset" |
| gs_parapet_inset_thk | Length | "Depth of Inset" |
| gs_parapet_sizes | Integer | "Wall Inset Sizes" |
| gs_parapet_width | Length | "Parapet Width" |
| gs_parapet_left | Length | "Overhang Left" |
| gs_parapet_right | Length | "Overhang Right" |
| gs_parapet_height | Length | "Parapet Height" |
| gs_parapet_2D | Boolean | "Show Hidden Parapet" |
| gs_parapet_bottom | Integer | "Wall Inset Bottom at" |
| gs_parapet_botelev | Length | "Bottom Overhang" |
| gs_parapet_line | LineType | "Hidden Parapet Line Type" |
| gs_2D_representation | Title | "2D Representation" |
| gs_wcont_line | String | "Wall Contour Line" |
| gs_wcont_line_in | LineType | "Wall Contour Line Type Inside" |
| gs_wcont_line_out | LineType | "Wall Contour Line Type Outside" |
| gs_wcont_line_pen | PenColor | "Wall Contour Line Pen" |
| gs_bFills | Boolean | "Use Fills" |
| gs_wallhole_fill | FillPattern | "Plan Symbol Fill Type" |
| gs_wallhole_pen_fg | PenColor | "Plan Symbol Fill Pen" |
| gs_wallhole_pen_bg | PenColor | "Plan Symbol Fill Background Pen" |
| gs_masonry_arch_fill | FillPattern | "Arch Section Fill Type" |
| gs_masonry_arch_pen_fg | PenColor | "Arch Sill Section Fill Pen" |
| gs_masonry_arch_pen_bg | PenColor | "Arch Section Fill Backg. Pen" |
| gs_3D_representation | Title | "3D Representation" |
| gs_masonry_arch_pen | PenColor | "3D Contour Pen" |
| res | Integer | "Curve Resolution" |
| ac_details | Title | "AC Opening Oversize" |
| ac_left_oversize | Length | "AC Left Opening Oversize" |
| ac_right_oversize | Length | "AC Right Opening Oversize" |
| ac_upper_oversize | Length | "AC Upper Opening Oversize" |
| ac_lower_oversize | Length | "AC Lower Opening Oversize" |
| gs_ui_sub_tabpage | Integer | "Sub Tabpage Selector" |
| idTab_MasonryArchSettings | Integer | "" |
| idTab_CavityClosureSettings | Integer | "" |
| idTab_CustomRevealSettings | Integer | "" |
| idTab_RevealClouserSettings | Integer | "" |
| idTab_BoardSettings | Integer | "" |
| idTab_WallInset | Integer | "" |
| gs_string_resources | Title | "String Resources" |
| stSubTabpageClosure | String Array[2] | "gs_ui_sub_tab_closure" |
| stRevealClosureTypes | String Array[12] | "gs_reveal_closure_type" |
| stRevealTypes | String Array[7] | "gs_reveal_type" |
| stWallContourLine | String Array[4] | "gs_wcont_line" |
| stCavityClosureSide | String Array[3] | "gs_cavity_side" |
| stCavityClosureTurnDir | String Array[2] | "gs_nTurnDir" |
| stCavityClosureEditedJambSide | String Array[3] | "gs_custom_cc_edit_jamb_side" |
| stCavityClosureEditedWallSide | String Array[2] | "gs_custom_cc_edit_wall_side" |
| stCavityClosureEditedSkinNumber | String Array[4] | "gs_custom_cc_edit_skin" |
| stCavityClosureTurnInThickness | String Array[2] | "gs_custom_cc_thickness_type" |
| stCavityClosureHatchOrientation | String Array[2] | "gs_custom_cc_orientation" |
| stMasonryArchTypes | String Array[7] | "gs_masonry_arch" |
| stMasonryArchStructure | String Array[2] | "gs_masonry_arch_structure" |
| stWallholeCutUI | String Array[6] | "" |
| stCavityClosureUI | String Array[32] | "" |
| stMasonryArchUI | String Array[25] | "" |
| stRevealClusureUITips | String Array[13] | "" |
| gs_transom_display | Boolean | "Display as Transom" |
| gs_transom_display_pen | PenColor | "Wall End Line Pen" |
| gs_transom_display_linetype | LineType | "Wall End Line Line Type" |
| Ornamental Window Moldings | Title | "Ornamental Window Moldings" |
| gs_faschen_left | Boolean | "Ornamental Window Molding left" |
| gs_faschen_right | Boolean | "Ornamental Window Molding Right" |
| gs_faschen_top | Boolean | "Ornamental Window Molding Top" |
| gs_faschen_bottom | Boolean | "Ornamental Window Molding Bottom" |
| gs_faschen_typ | String | "Ornamental Window Molding Type" |
| gs_faschen_A | Length | "Width Left/Right" |
| gs_faschen_C | Length | "Height of Top" |
| gs_faschen_B | Length | "Height of Bottom" |
| gs_faschen_R | Boolean | "Default Right Side Ornamental Window Molding" |
| gs_faschen_R_height | Length | "Height of the Right Side Ornamental Window Molding" |
| gs_faschen_L | Boolean | "Default Left Side Ornamental Window Molding" |
| gs_faschen_L_height | Length | "Height of the Left Side Ornamental Window Molding" |
| gs_faschen_t | Boolean | "Ornamental Window Molding Depth >= Reveal Depth" |
| gs_faschen_width | Length | "Depth of Ornamental Window Molding" |
| gs_faschen_brick_thk | Length | "Brick Thickness" |
| gs_faschen_mort_thk | Length | "Mortar Thickness" |
| gs_faschen_fill | FillPattern | "Section Fill Type" |
| gs_faschen_fg | PenColor | "Section Fill Pen" |
| gs_faschen_bg | PenColor | "Section Fill Backg. Pen" |
| gs_faschen_pen | PenColor | "3D Contour Pen" |
| gs_faschen_plaster_mat | Material | "Plaster Material" |
| gs_faschen_brick_mat | Material | "Brick Material" |
| gs_faschen_mort_mat | Material | "Mortar Material" |
| gs_faschen_type | String Array[2] | "Ornamental Window Molding Type string" |
| gs_ui_sub_tab_closure | String | "Closure Subpage" |
| gs_head_symbol | Boolean | "Head/Threshold Plan Symbol" |
| gs_head_symbol_line | LineType | "Head/Threshold Symbol Line Type" |
| gs_head_symbol_pen | PenColor | "Head/Threshold Symbol Pen" |
| gs_sidelight_left | Boolean | "Left Sidelight" |
| gs_sidelight_width_left | Length | "Left Sidelight Width" |
| gs_sidelight_right | Boolean | "Right Sidelight" |
| gs_sidelight_width_right | Length | "Right Sidelight Width" |
| gs_door_transom | Boolean | "Transom" |
| gs_transom_height | Length | "Transom Height" |
| gs_usa_parameters | Title | "USA Parameters" |
| gs_fsill | Boolean | "Bottom Frame at Sill" |
| iTrim | Integer | "" |
| bSill | Integer | "Sill" |
| bBoard | Integer | "Stool" |
| gs_bvt_m | Integer | "" |
| gs_brick_sill_detlev_m | Integer | "Brick Sill Detail Level" |
| stBrickVeneerTextUSA | String Array[11] | "" |
| gs_metal | Boolean | "Metal Window" |
| bBoardElevUsa | Length | "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