GenericZone.RemoveSpaces Method

Removes spaces from the zone.


Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

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

ExceptionCondition
ArgumentNullException A non-optional argument was null
InvalidOperationException This generic zone must be space-based.

See Also

Reference

GenericZone Class
Autodesk.Revit.DB.Analysis Namespace