Stores the entity in the element. If an Entity described by the same Schema already
exists, it is overwritten.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void SetEntity(
Entity entity
)
Public Sub SetEntity (
entity As Entity
)
public:
void SetEntity(
Entity^ entity
)
member SetEntity :
entity : Entity -> unit
Parameters
- entity Entity
-
The Entity to be stored.
Exceptions
See Also