AddUpdatingSharedParameter Method


Add existing shared parameter as a dependency for the calculation of the rebar curves.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2020

Syntax

C#
public void AddUpdatingSharedParameter(
	ElementId parameterId
)
Visual Basic
Public Sub AddUpdatingSharedParameter ( _
	parameterId As ElementId _
)
Visual C++
public:
void AddUpdatingSharedParameter(
	ElementId^ parameterId
)

Parameters

parameterId
Type: Autodesk.Revit.DBElementId
ElementId of the shared parameter to be added.

Remarks

The input parameter needs to be bound to the Rebar element

The rebar element needs to have a valid external server

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsInvalidOperationException This RebarFreeFormAccessor Rebar doesn't contain a valid server GUID. -or- parameterId is a parameter that is not bound to the Rebar element category.

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 →