2021 Method
Changes 0
M

ProjectLocation.IsProjectLocationNameUnique

Description:
Verifies that there is no existing ProjectLocation with the given name belonging to the given SiteLocation.
public static bool IsProjectLocationNameUnique(
	Document document,
	string name,
	ElementId siteLocationId
)
Return Value bool True if the name is unused (among ProjectLocations). False otherwise.