Slab Command
Overview
The “Slab Command” adds a new IfcSlab instance to the model.
The slab is created as an extruded solid. Unlike the other element commands, the slab
does not use an IfcProfileDef. Its outline is the polygon you specify in the view, and
the outline is extruded downwards by the value of the “Thickness” property. In other
words the points you specify describe the top face of the slab.
The outline is projected onto the horizontal plane that passes through the first point,
so the height of the slab is taken from the first point only.
The new slab is added to the building storey selected in the “Storey” property.

Specifying the outline of a slab in the 3D view. The marker shows the “Surface point”
object snap picking up a point on the surface below.
The command can be started in any of the following ways:
- Click the “Slab” button on the Elements panel of the Home tab.
- Enter “_CliCmdCreateBuildingElementSlab” (or its alias “slab”) in the prompt window.
Usage
Here is an explanation of how the “Slab Command” is typically used:
-
Start the command. The Property View switches to the settings of the command.
-
Check the settings in the Property View and change them if necessary. At least
“Storey” must be set, otherwise the command reports an error. -
Specify the first corner of the outline when the prompt “1st position” is displayed.
-
Specify the remaining corners one by one when the prompt “Next position” is
displayed. -
Close the outline in any of the following ways. The slab is created and the #id
of the new instance is printed in the prompt window.- Specify the first point again. The first point is offered as the default value of
the prompt, so simply pressing the Enter key does the same. - Enter “C” in the prompt window. This choice is offered as “Close(C)” in the prompt
once three or more corners have been specified.
- Specify the first point again. The first point is offered as the default value of
-
Continue specifying outlines to place further slabs. Press Esc to finish the command.
At least three corners are required. The settings you used are stored, so the next time
the command is started the same thickness and storey are offered again.
While you are specifying the corners, the outline being entered is previewed in the view
together with the thickness, so you can see the shape of the slab before it is created.
Controls
| Control | Description |
|---|---|
| Storey | Select the IfcBuildingStorey the slab is added to |
| Thickness | Specify the thickness of the slab. The outline is extruded downwards by this value |
| _PointCount | Shows the number of the outline points specified in the view. Read only |
| Name | Specify the name of the IfcSlab |
| Description | Specify the description of the IfcSlab |
| Tag | Specify the tag of the IfcSlab |
| ObjectType | Specify the object type of the IfcSlab |
| Ownerhistory | Select the IfcOwnerHistory of the IfcSlab |
| ContextOfItems | Select the IfcRepresentationContext used by the shape representation |
| Globalid | Specify the GUID of the IfcSlab |
Messages
The following messages are displayed in the prompt window when the input is not valid.
| Message | Description |
|---|---|
| The number of the input points must be 3 or more. | The outline was closed before three corners were specified |
| The Thickness value must be greater than 0.0. | The Thickness property is 0.0 or a negative value |
| The input value “Storey” is null. | No IfcBuildingStorey is selected |
Command Name
_CliCmdCreateBuildingElementSlab
Alias
slab