Sets the deck embedding type to use for the specified structural deck.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- layerIdx
-
Type:
System
Int32
Index of a layer in the CompoundStructure.
- embedType
-
Type:
Autodesk.Revit.DB
StructDeckEmbeddingType
The embedding type to be used by the specified layer if it is a structural deck.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | The layer is not a structural deck. |
Autodesk.Revit.Exceptions ArgumentOutOfRangeException | The layer index is out of range. -or- A value passed for an enumeration argument is not a member of that enumeration |