Creates a new Entity corresponding to the Schema.
Namespace: Autodesk.Revit.DB.ExtensibleStorageAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Entity(
Schema schema
)
Parameters
- schema Schema
-
Exceptions
Remarks
You can store the newly created Entity in an Element or in another Entity.
If you do not have write access to the Schema, an exception will be thrown.
See Also
Reference