Frame Property


The Frame value of the Electrical System.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
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

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException 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.ExceptionsArgumentOutOfRangeException When setting this property: The given value for frame must be non-negative.
Autodesk.Revit.ExceptionsDisabledDisciplineException When setting this property: None of the following disciplines is enabled: Mechanical Electrical Piping.
Autodesk.Revit.ExceptionsInvalidOperationException This property only available when System Type is Power and Circuit Type is NOT Space!

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →