Verifies that there is no existing ProjectLocation with the given name belonging to the given SiteLocation.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2019
Syntax
| C# |
|---|
public static bool IsProjectLocationNameUnique(
Document document,
string name,
ElementId siteLocationId
) |
| Visual Basic |
|---|
Public Shared Function IsProjectLocationNameUnique ( _
document As Document, _
name As String, _
siteLocationId As ElementId _
) As Boolean |
| Visual C++ |
|---|
public:
static bool IsProjectLocationNameUnique(
Document^ document,
String^ name,
ElementId^ siteLocationId
) |
Return Value
True if the name is unused (among ProjectLocations). False otherwise.
Exceptions
See Also