Revit 2025 API
Compound |
Creates a non-vertically compound structure comprised of parallel layers.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static CompoundStructure CreateSimpleCompoundStructure( IList<CompoundStructureLayer> layers )
Public Shared Function CreateSimpleCompoundStructure ( layers As IList(Of CompoundStructureLayer) ) As CompoundStructure
public: static CompoundStructure^ CreateSimpleCompoundStructure( IList<CompoundStructureLayer^>^ layers )
static member CreateSimpleCompoundStructure : layers : IList<CompoundStructureLayer> -> CompoundStructure
Parameters
- layers IListCompoundStructureLayer
- An array which describes the parallel layers of this compound structure.
Return Value
CompoundStructureA newly created compound structure.

Exception | Condition |
---|---|
ArgumentException | One or more layers is not valid. |
ArgumentNullException | A non-optional argument was null |

All layers are in the core, i.e. there are no shell layers created.
See Also