Table of Contents

Class DxfBlockRotationParameter

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

A rotation parameter of a dynamic block, as AddRotationParameter(string, string, GeoPoint3, double, double, DxfBlockParameterValueSet) wrote it: an angle about a base point, shown on every INSERT of the block as the dynamic property of its name, in radians, and followed by the rotate actions tied to it (AddRotateAction(DxfBlockRotationParameter, IEnumerable<DxfEntity>)).

public sealed class DxfBlockRotationParameter
Inheritance
DxfBlockRotationParameter
Inherited Members

Remarks

The parameter Angle about (50, 25, 0) of the radius 30 and the angle nought gives each INSERT the property Angle of nought; set to a quarter turn (pi / 2), by AutoCAD or by Value, it turns the entities of a rotate action tied to it a quarter turn counter-clockwise about (50, 25). What it holds is read once it is written: changing the block afterwards does not change it.

Properties

Angle

Gets the angle as given, in radians counter-clockwise from the block's x axis: the angle of the grip about the base point, which every INSERT of the block shows, taken into a turn, until its property is set.

BasePoint

Gets the point the angle turns about, in the block's coordinates.

Description

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

Handle

Gets the handle of the parameter's object, the BLOCKROTATIONPARAMETER of the OBJECTS section.

Name

Gets the label of the parameter, the name of the property it gives each INSERT (305), as Angle.

Radius

Gets how far the parameter's grip stands from the base point.

ValueSet

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