FieldValues Constructor (IList(ValueAtPoint), XYZ)


Creates object from an array of domain point values

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public FieldValues(
	IList<ValueAtPoint> valueAtPoint,
	XYZ unitDirection
)
Visual Basic
Public Sub New ( _
	valueAtPoint As IList(Of ValueAtPoint), _
	unitDirection As XYZ _
)
Visual C++
public:
FieldValues(
	IList<ValueAtPoint^>^ valueAtPoint, 
	XYZ^ unitDirection
)

Parameters

valueAtPoint
Type: System.Collections.Generic IList ValueAtPoint
Array of values, each corresponding to a domain point
unitDirection
Type: Autodesk.Revit.DB XYZ
Unit vector that gives the same direction for values (for diagrams)

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Members of valueAtPoint contain different numbers of measurements -or- unitDirection is not a unit vector
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

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 →