RemoveSpaces Method


Generic Zone Remove Spaces Method

Removes spaces from the zone.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void RemoveSpaces(
	ISet<ElementId> spaceIds
)

Parameters

spaceIds ISet ElementId
The spaces to be removed from the zone. The spaces that are not in the zone will be ignored.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException This generic zone must be space-based.
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 →