DistanceFromPreviousOrSpace Property


The length, in case of balusters, it is a distance from a previous one. For a post, it is a space from the original position of the post.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since: 2019

Syntax

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

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException When setting this property: The given value for distanceFromPreviousOrSpace is not finite
Autodesk.Revit.Exceptions ArgumentOutOfRangeException When setting this property: The given value for distanceFromPreviousOrSpace must be greater than 0 and no more than 30000 feet.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →