Creates a new Entity corresponding to the Schema of the specified GUID.
Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Entity( Guid schemaGUID )
Parameters
- schemaGUID Guid
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The GUID does not correspond to any Schema in memory. |
| InvalidOperationException | Writing of Entities of this Schema is not allowed to the current add-in. |
