RegisterResult Method


Spatial Field Manager Register Result Method

Registers result and assigns it a unique result index

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public int RegisterResult(
	AnalysisResultSchema resultSchema
)

Parameters

resultSchema AnalysisResultSchema
Result schema to be registered

Return Value

Int32
Unique index assigned to the result
Exceptions
Exception Condition
ArgumentException name of resultSchema is not unique in view
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 →