The Mixed_Convert vertical rectangle to 2D Block tool can be used to convert vertical rectangles into horizontal 2D blocks that represent doors or windows. There are two placement modes available:
Manual Mode
Automatic Mode
Requirements:
For Manual mode: Select multiple vertical geometric rectangle objects that represent doors and windows and the Room Contour.
For Automatic mode: Select multiple vertical geometric rectangle objects that represent doors and windows and the walls' centerline (this can be generated using the Polyline_Wall Center tool).
Steps:
A. Select multiple vertical geometric rectangles that represent doors and windows in each room, along with the polyline that represents the wall centerline.
B. Execute the script and choose the Mixed_2D Doors and Windows option.
C. The script will prompt you to select a mode:
Manual Mode
Automatic Mode
Manual Mode:
This mode allows you to:
Place a 2D block for each selected vertical rectangular object (representing doors or windows).
Define the placement side of the 2D block — either on the Left or Right side relative to the direction of the Room Contour.
Specify the depth of each 2D block individually, allowing accurate representation of door/window thickness.
Automatic Mode:
Automatically places 2D blocks based on all the selected vertical rectangles and centerlines.
Notes:
For the Automatic mode, it is mandatory to use the centerline generated via the Polyline_Wall Center tool. This centerline includes the wall thickness parameter, which is essential for the script to function correctly.