HasValidTypeForReporting Method

Tests that the global parameter has data of a type that supports reporting.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: (
Since: 2016 Subscription Update


public bool HasValidTypeForReporting()
Visual Basic
Public Function HasValidTypeForReporting As Boolean
Visual C++
bool HasValidTypeForReporting()

Return Value

True if the parameter has data of a type that supports reporting; False otherwise.


Only few data types can be used for reporting parmeters. Currently, reporting global parameters must be either of type Lenght or Angle - basically, they need to be value-driven by standard dimensions.

See Also