ElementDeleteEntity Method |
Deletes the existing entity created by %schema% in the element
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic bool DeleteEntity(
Schema schema
)
Public Function DeleteEntity (
schema As Schema
) As Boolean
public:
bool DeleteEntity(
Schema^ schema
)
member DeleteEntity :
schema : Schema -> bool
Parameters
- schema Schema
-
Schema used for creation of the entity
Return Value
Boolean
True if entity was deleted, false if entity didn't exist
Exceptions
See Also