RemoveHostConstraint Method


Removes constraint from host for this load.

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

Syntax

C#
public void RemoveHostConstraint()
Visual Basic
Public Sub RemoveHostConstraint
Visual C++
public:
void RemoveHostConstraint()

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException This LoadBase is not a constraint load.
Autodesk.Revit.ExceptionsModificationForbiddenException Thrown when the load is an AreaLoad and the host is an Analytical Panel with curved profile.

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 →