TrussCurveType Property
The truss curve type of this model curve.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public TrussCurveType TrussCurveType { get; set; }
Visual Basic
Public Property TrussCurveType As TrussCurveType
	Get
	Set
Visual C++
public:
property TrussCurveType TrussCurveType {
	TrussCurveType get ();
	void set (TrussCurveType value);
}

Remarks

This property is applicable only to curves in Truss families.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeExceptionThrown when the assigned value for TrussCurveType is invalid.
Autodesk.Revit.Exceptions..::..InvalidOperationExceptionThrown when attempting to set this property to a curve not in a truss family.
Autodesk.Revit.Exceptions..::..InvalidOperationExceptionThrown when attempting to change truss curves to NonTrussCurve, or when the truss curve type may not be applied to curves of this shape (webs must be linear, and chords must be linear or arc).

See Also