Skip to content

CompoundStructure.CanLayerBeStructuralMaterial

Public Class

Identifies if the input layer can be designated as defining the structural material for this structure.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public bool CanLayerBeStructuralMaterial(
int layerIndex
)

Parameters

layerIndexInt32

Index of a layer in the CompoundStructure.

Return Value

Boolean
True if the input layer may be used to define the structural material and false otherwise.

Remarks

Only core layers may be designated as defining the structural material.