Revit 2026 API
ElementCan |
Identifies if the element can be locked.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool CanBeLocked()
Public Function CanBeLocked As Boolean
public: bool CanBeLocked()
member CanBeLocked : unit -> bool
Return Value
BooleanTrue if the element can be locked, false otherwise.
See Also