Validates that the input ExternalGeometryId can be assigned to a direct shape reference.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2024
Syntax
| C# |
|---|
public static bool IsValidExternalGeometryId( ExternalGeometryId externalId ) |
| Visual Basic |
|---|
Public Shared Function IsValidExternalGeometryId ( _ externalId As ExternalGeometryId _ ) As Boolean |
| Visual C++ |
|---|
public: static bool IsValidExternalGeometryId( ExternalGeometryId^ externalId ) |
Parameters
- externalId
- Type: Autodesk.Revit.DB..::..ExternalGeometryId
The ExternalGeometryId to assign to the reference.
Return Value
True if the provided ExternalGeometryId is valid, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |