# PlotRegion3D

The PlotRegion3D function allows you to draw a 3D (composite) region by referencing an existing 3D region (such as a Region3D, Box3D, Cylinder3D, Plane3D, etc.) configured in another spreadsheet cell.

It returns a Plot structure containing the settings of the drawn 3D (composite) region.

# PlotRegion3D Inputs

The PlotRegion3D function has the following syntax:

PlotRegion3D(PointCloud,ExternalRegion,Color,Transparency,ShowAxisIndicator,ShowDirectionIndicator,DirectionIndicatorAxis,ModelMode,LineDrawingThickness,Show)

Parameter | Description
PointCloud | Reference to a cell containing a point cloud. The default value is $A$0.
External Composite Region | Specifies a reference to a 3D region defined in another cell of the spreadsheet to be used for plotting the 3D (composite) region. Note: Leaving this setting on 0 (OFF) will result in the function returning an error once set up.
Color | Specifies the color of the wireframe or surface (depending on the selected Model Mode). The default value is Lime Green. Note: If the Model Mode parameter is set to Solid with Wireframe, then the wireframe will be drawn in black regardless of the value of this setting.
Transparency | Specifies the transparency of the drawn structure (or its elements, depending on the selected Model Mode). The value range of the property is 0 – 100 (from no transparency to complete transparency), and the default value is 0 (meaning no transparency).
Show Axis Indicator | Shows the axis indicator for the plotted structure. This parameter is disabled by default.
Show Direction Indicator | Shows the direction indicator on the axis selected with the Direction Indicator Axis parameter. This parameter is disabled by default.
Direction Indicator Axis | Specifies which axis' direction to show by the Direction Indicator. By default, the X-axis direction is indicated.
Model Mode | Specifies how the region will be drawn in the point cloud: Points: Only the corner points of the region will be drawn. Wireframe: The region will be drawn as a wireframe only, its surfaces being completely transparent. This is the default setting. Solid: The region will be drawn with its surfaces being completely solid. Solid with Wireframe: The region will be drawn with solid surfaces, with its wireframe toned in black color.
Line Drawing Thickness | Specifies the thickness of the wireframe lines. This setting is available only if the Model Mode parameter is set to Wireframe or Solid with Wireframe, and its default value is 5.
Show | Selects the display mode.
0 (Unchecked) = Off | The structure will be hidden, except when the cell containing the function is highlighted in the spreadsheet.
1 (Checked) = On (default) | The structure will be displayed at all times.

# PlotRegion3D Outputs

Returns | A Plot structure that allows you to modify the plotted 3D region.
Results | When inserted into a cell, a ❒Plot structure is created, containing the settings of the 3D region drawn in the point cloud when the job is Online.