Method SetFromStyle
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetFromStyle()
Takes away the dimension's overrides of its dimension style, as AutoCAD's SetFromStyle: the list DSTYLE of its
extended data of ACAD, the rest of that data kept, and the data of ACAD with it where nothing else is left; each
variable then reads as its style has it, a dimension of Dimasz 4.5 of its own over a style of 3.5 reading 3.5. A
dimension of no overrides changes nothing. The block AutoCAD drew the dimension with is not drawn anew.
public override bool SetFromStyle()
Returns
- bool
Whether the dimension's drawing (for a copy in no file, the drawing it was copied from) has the dimension style it names (DimensionStyleName); false, and nothing changed, where it has not, or the dimension is in none.
Exceptions
- InvalidOperationException
Thrown when the dimension has overrides and is erased.