GetChangeTypeParameter Method (Parameter)


Returns ChangeType associated with a change in a parameter's value

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

Syntax

C#
public static ChangeType GetChangeTypeParameter(
	Parameter param
)
Visual Basic
Public Shared Function GetChangeTypeParameter ( _
	param As Parameter _
) As ChangeType
Visual C++
public:
static ChangeType^ GetChangeTypeParameter(
	Parameter^ param
)

Parameters

param
Type: Autodesk.Revit.DB Parameter
Parameter for the ChangeType to trigger on

Return Value

ChangeType that can be used to define a trigger for an Updater, triggering on parameter value change

Remarks

Use this change type to trigger an Updater when the value of an element's parameter changes. Note: This change type will not trigger on newly created or deleted elements.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was a null reference ( Nothing in Visual Basic)

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 →