M

AddSpaces

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2026).
Not present in: 2027
2026 current
Zone.AddSpaces(SpaceSet)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.
spaces SpaceSet The spaces which want to add to zone element.
→ returns nullNothingnullptrBoolean If successful the current zone element will add a set of input spaces, otherwise .
Zone.AddSpaces(SpaceSet)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.
spaces SpaceSet The spaces which want to add to zone element.
→ returns nullNothingnullptrBoolean If successful the current zone element will add a set of input spaces, otherwise .
Zone.AddSpaces(SpaceSet)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.
spaces SpaceSet The spaces which want to add to zone element.
→ returns nullNothingnullptrBoolean If successful the current zone element will add a set of input spaces, otherwise .
Zone.AddSpaces(SpaceSet)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.
spaces SpaceSet The spaces which want to add to zone element.
→ returns nullNothingnullptrBoolean If successful the current zone element will add a set of input spaces, otherwise .
Zone.AddSpaces(SpaceSet)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.
spaces SpaceSet The spaces which want to add to zone element.
→ returns nullNothingnullptrBoolean If successful the current zone element will add a set of input spaces, otherwise .
Zone.AddSpaces(SpaceSet)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.
spaces SpaceSet The spaces which want to add to zone element.
→ returns Boolean If successful the current zone element will add a set of input spaces, otherwise .
Zone.AddSpaces(SpaceSet)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.
spaces SpaceSet The spaces which want to add to zone element.
→ returns Boolean If successful the current zone element will add a set of input spaces, otherwise .