Sets the ExternalGeometryId associated with the reference object. The ID must be non-empty.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2024
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- externalId
- Type: Autodesk.Revit.DBExternalGeometryId
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | externalId cannot be used as an ExternalGeometryId for a direct shape reference. |
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |