Class DxfBlockLinearParameter
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
A linear parameter of a dynamic block, as AddLinearParameter(string, string, GeoPoint3, GeoPoint3, double, DxfBlockParameterValueSet) wrote it: the distance from its base point to its end point, shown on every INSERT of the block as the dynamic property of its name, and changed by the actions tied to it (AddStretchAction(DxfBlockLinearParameter, GeoPoint2, GeoPoint2, IEnumerable<DxfEntity>), AddMoveAction(DxfBlockLinearParameter, IEnumerable<DxfEntity>), AddScaleAction(DxfBlockLinearParameter, IEnumerable<DxfEntity>), AddArrayAction(DxfBlockLinearParameter, IEnumerable<DxfEntity>, double)).
public sealed class DxfBlockLinearParameter
- Inheritance
-
DxfBlockLinearParameter
- Inherited Members
Remarks
The parameter Width from (0, 0, 0) to (100, 0, 0) of a rectangle 100 by 50 gives each INSERT of the block the property Width of 100; set to 200, by AutoCAD or by Value, it moves its end point to (200, 0, 0), and a stretch action tied to it moves the points in its frame by 100 along x. What it holds is read once it is written: changing the block afterwards does not change it.
Properties
- BasePoint
Gets the point the distance is measured from, in the block's coordinates, which the stretch does not move.
- Description
Gets the description of the property (306); empty where none was given.
- Distance
Gets the distance from the base point to the end point, the value every INSERT of the block shows until its property is set.
- EndPoint
Gets the point the distance is measured to, in the block's coordinates, which follows the value set.
- Handle
Gets the handle of the parameter's object, the BLOCKLINEARPARAMETER of the OBJECTS section.
- LabelOffset
Gets how far the label stands off the line from the base point to the end point (140), to the left of it looking from the base to the end: -20 puts the label of a Width along x 20 below it.
- Name
Gets the label of the parameter, the name of the property it gives each INSERT (305), as Width.
- ValueSet
Gets the values the distance may take; null where it may take any.