Revit 2025 API
Structural |
The density of the asset.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double Density { get; set; }
Public Property Density As Double Get Set
public: property double Density { double get (); void set (double value); }
member Density : float with get, set
Property Value
Double
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: The given value for density must be non-negative. |

Values are in kilograms per cubed feet (kg/ft³) and must be non-negative.
See Also