CanSetHostWall Method


Wall Can Set Host Wall Method

Checks whether this wall can be associated with the specified host wall.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public bool CanSetHostWall(
	ElementId hostWallId
)

Parameters

hostWallId ElementId
The element ID of the host wall to check association against.

Return Value

Boolean
True if the wall can be associated with the specified host wall.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
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 →