Table of Contents

Class DxfBlockPolarParameter

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

A polar parameter of a dynamic block, as AddPolarParameter(string, string, string, string, GeoPoint3, GeoPoint3, double, DxfBlockParameterValueSet, DxfBlockParameterValueSet) wrote it: the distance from its base point to its end point and the angle of that line from the block's x axis, shown on every INSERT of the block as two dynamic properties, and followed by the polar stretch actions tied to it (AddPolarStretchAction(DxfBlockPolarParameter, GeoPoint2, GeoPoint2, IEnumerable<DxfEntity>, IEnumerable<DxfEntity>)), which turn and stretch with its end point, and by the stretch and move actions tied to it, which follow its end point unturned.

public sealed class DxfBlockPolarParameter
Inheritance
DxfBlockPolarParameter
Inherited Members

Remarks

The parameter of the labels Length and Angle from (0, 0, 0) to (100, 0, 0) gives each INSERT the properties Length of 100 and Angle of nought; Length set to 150 and Angle to a quarter turn, by AutoCAD or by Value, move the end point to (0, 150, 0). What it holds is read once it is written: changing the block afterwards does not change it.

Properties

Angle

Gets the angle of the line from the base point to the end point, in radians counter-clockwise from the block's x axis, from nought up to 2 pi: the value every INSERT shows until its property is set.

AngleDescription

Gets the description of the angle (308); empty where none was given.

AngleName

Gets the label of the angle, the name of its property (307), as Angle.

AngleValueSet

Gets the values the angle may take, in radians; null where it may take any.

BasePoint

Gets the point the distance is measured from and the angle turns about, in the block's coordinates.

Distance

Gets the distance from the base point to the end point, the value every INSERT shows until its property is set.

DistanceDescription

Gets the description of the distance (306); empty where none was given.

DistanceName

Gets the label of the distance, the name of its property (305), as Length.

DistanceValueSet

Gets the values the distance may take; null where it may take any.

EndPoint

Gets the point the distance is measured to, in the block's coordinates, which follows the properties.

Handle

Gets the handle of the parameter's object, the BLOCKPOLARPARAMETER 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.