Returns the existing entity corresponding to the Schema if it has been saved in the Element, or an invalid entity otherwise.
Assembly: RevitAPI (in RevitAPI.dll) Version: 220.127.116.11 (18.104.22.168)
The Schema describing the Entity.
Return ValueThe returned Entity.
The Entity that is returned is a copy of the stored data (with copy-on-write optimization). Modifying it is allowed (even with restricted write), but to save your changes you must call SetEntity.