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

Dimension.IsLocked

Property
Description:
Indicates if this dimension is locked.
Remarks:
This property always returns false if the dimension is a radial or spot dimension. This property cannot be set if the dimension has been labeled, or if the dimension shape is arc-length, radial, diameter or spot, or if the dimension is linear with more than one segment.
Syntax
public bool IsLocked { get; set; }