Identifies if the element has been pinned to prevent changes.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Remarks
An element which is pinned may not be moved, and warnings will be issued when an attempt is made to delete it.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsInvalidOperationException | When setting this property: Element cannot be pinned or unpinned. |