GetSimpleCompoundStructure Method


Compound Structure Get Simple Compound Structure Method

Takes a horizontal slice through a sample wall to which this CompoundStructure is applied and returns a simple compound structure which describes that slice, i.e. a series of parallel layers.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public CompoundStructure GetSimpleCompoundStructure(
	double wallHeight,
	double distAboveBase
)

Parameters

wallHeight Double
The height of the wall.
distAboveBase Double
The distance from the base of the wall at which to take the section. If distAboveBase < 0, then internally distAboveBase = 0 is used. If distAboveBase > wallHeight, then internally distAboveBase = wallHeight is used.

Return Value

CompoundStructure
A simple CompoundStructure representing a series of parallel layers.
Remarks
If IsVerticallyCompound is false, the output is a copy of this CompoundStructure.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →