AllowWallJoinAtEnd Method


Allows the wall's end to join to other walls. If that end is near other walls it will become joined as a result.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public static void AllowWallJoinAtEnd(
	Wall wall,
	int end
)
Visual Basic
Public Shared Sub AllowWallJoinAtEnd ( _
	wall As Wall, _
	end As Integer _
)
Visual C++
public:
static void AllowWallJoinAtEnd(
	Wall^ wall, 
	int end
)

Parameters

wall
Type: Autodesk.Revit.DB Wall
The wall in question
end
Type: System Int32
0 or 1 for the beginning or end of the wall's curve

Remarks

By default all walls are allowed to join at ends, so this function is only needed if this wall end is already disallowed to join. If this wall is a stacked wall, all subwalls at this end will be allowed to join.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also