Class DxfDimAssoc
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
The DIMASSOC of an associative dimension, as AutoCAD's AcDbDimAssoc: kept under ACAD_DIMASSOC in the extension
dictionary of the dimension, it names the dimension (group 330) and ties its points to the objects they were snapped
to (PointReferences), each of which lists it among its reactors, so that the dimension follows them.
public sealed class DxfDimAssoc : DxfDBObject
- Inheritance
-
DxfDimAssoc
- Inherited Members
Remarks
DimAssoc gives the DIMASSOC of a dimension, SetDimAssoc(IEnumerable<DxfOsnapPointRef>) ties a dimension and ReleaseDimAssoc() unties it. The library writes the ties and reads them back; the dimension's points are moved by whoever moves the objects, as the presenter does after each edit.
Properties
- AssociativityFlags
Gets which points of the dimension are tied (group 90): bit 1 the first, 2 the second, 4 the third, 8 the fourth.
- DimensionHandle
Gets the handle of the dimension the object ties (the group 330 after its subclass marker).
- IsTransSpace
Gets whether the dimension is in paper space and its objects in model space, seen through a viewport (group 70).
- PointReferences
Gets the point references, in the order of their points, each once; a new list on each call.