The Frame value of the Electrical System.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2021
Syntax
C# |
---|
public double Frame { get; set; } |
Visual Basic |
---|
Public Property Frame As Double Get Set |
Visual C++ |
---|
public: property double Frame { double get (); void set (double value); } |
Remarks
This property is used to retrieve the Frame value of the Electrical System.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | When setting this property: The given value for frame is not a number -or- When setting this property: The given value for frame is not finite |
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | When setting this property: The given value for frame must be non-negative. |
Autodesk.Revit.Exceptions..::..DisabledDisciplineException | When setting this property: None of the following disciplines is enabled: Mechanical Electrical Piping. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | This property only available when System Type is Power and Circuit Type is NOT Space! |