Revit 2025.3 API
Compound |
The sample height is the presumed height of the wall to which the data in this CompoundStructure is applied.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public double SampleHeight { get; set; }
Public Property SampleHeight As Double Get Set
public: property double SampleHeight { double get (); void set (double value); }
member SampleHeight : float with get, set
Property Value
DoubleThe height of the wall used to define the vertically compound structure.

Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: The value newSampleHeight is smaller than the value of MinimumSampleHeight. |
InvalidOperationException | This operation is valid only for vertically compound structures. |

This value has meaning only for vertically compound structures.
In order to apply this CompoundStructure to a wall whose height differs from the sample height,
the underlying grid will be rescaled.
See Also