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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →