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

Dimension.FamilyLabel

Property
Description:
The family parameter label of the dimension.
Remarks:
A dimension only can be labeled to a family parameter in a family document. When the dimension is labeled by a reporting parameter, the dimension value drives the parameter value. When the parameter is labeled by a non-reporting, the value of the parameter drives the dimension. If the dimension is multi-segmented, each segment of the dimension is driven by the same parameter value. Multi-segmented dimensions cannot be labeled by reporting parameters. To unbind the family parameter, set this property to null.
Syntax
public FamilyParameter FamilyLabel { get; set; }
Exceptions
Exception Condition
ArgumentException Thrown when the family parameter's ParameterType is not suitable for this dimension.
InvalidOperationException Thrown when dimension can not be labeled.
InvalidOperationException Thrown when failed to get the BuiltInParameter DIM_LABEL.