GenericZoneRemoveSpaces 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  ISetElementId
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