RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Element

Element.Pinned

Property
Description:
Identifies if the element has been pinned to prevent changes.
Remarks:
An element which is pinned may not be moved, and warnings will be issued when an attempt is made to delete it.
Syntax
public bool Pinned { get; set; }
Exceptions
Exception Condition
InvalidOperationException When setting this property: Element cannot be pinned or unpinned.