CompoundStructureGetNumberOfShellLayers Method |
Retrieves the number of interior or exterior shell layers.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic int GetNumberOfShellLayers(
ShellLayerType shellLayerType
)
Public Function GetNumberOfShellLayers (
shellLayerType As ShellLayerType
) As Integer
public:
int GetNumberOfShellLayers(
ShellLayerType shellLayerType
)
member GetNumberOfShellLayers :
shellLayerType : ShellLayerType -> int
Parameters
- shellLayerType ShellLayerType
-
If ShellLayerType.Exterior return the number of exterior shell layers (or top shell layers for a roof, floor, or ceiling type).
If ShellLayerType.Interior return the number of interior shell layers (or bottom shell layers for a roof, floor, or ceiling type).
Return Value
Int32
The number of shell layers in the interior or exterior shell, as specified by shellLayerType.
Exceptions
Remarks
See Also