diff --git a/ACadSharp/Entities/Dimension.cs b/ACadSharp/Entities/Dimension.cs index b02d2f0b..6efb102d 100644 --- a/ACadSharp/Entities/Dimension.cs +++ b/ACadSharp/Entities/Dimension.cs @@ -69,6 +69,28 @@ public DimensionType Flags } } + /// + /// Ordinate type. If true, ordinate is X-type else is ordinate is Y-type + /// + public bool IsOrdinateTypeX + { + get + { + return this._flags.HasFlag(DimensionType.OrdinateTypeX); + } + set + { + if (value) + { + this._flags |= DimensionType.OrdinateTypeX; + } + else + { + this._flags &= ~DimensionType.OrdinateTypeX; + } + } + } + /// /// Indicates if the dimension text has been positioned at a user-defined location rather than at the default location ///