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 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 →