Skip to content

Commit d630fe2

Browse files
authored
Remove default value from Space method (#1574)
2 parents ea6c408 + 1c56bfa commit d630fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Revit_Core_Engine/Query/Space.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static partial class Query
4040
[Input("spaces", "An optional collection of Revit Spaces to search. If not provided, all Spaces in the element's document will be used.")]
4141
[Input("useRoomCalculationPoint", "If true and the element is a FamilyInstance with a spatial element calculation point, that point will be used for containment checks.")]
4242
[Output("space", "The Revit Space containing the element, or the element itself if it is a Space. Returns null if no containing Space is found.")]
43-
public static Space Space(this Element element, IEnumerable<Space> spaces = null, bool useRoomCalculationPoint = false)
43+
public static Space Space(this Element element, IEnumerable<Space> spaces, bool useRoomCalculationPoint = false)
4444
{
4545
if (element == null)
4646
return null;

0 commit comments

Comments
 (0)