TsgDXFDimension
Unit: DXFConv
Description
This class defines special type for insert a linear dimension measuring. A linear dimension measuring the distance between two points which is displayed parallel to the points being measured. In aligned dimensions, the dimension line is parallel to the extension line origins.
Syntax
TsgDXFDimension = class(TsgDXFInsert)
Properties
Properties | Description |
---|---|
ArcDefPoint | Gets or sets the point defining the dimension arc for angular dimensions. |
ArrowSize | Gets or sets the size of the arrowhead. |
ArrowType | Gets or sets a type of arrow exterior. |
ArrowType1 | Gets or sets a type of the first arrow exterior. |
ArrowType2 | Gets or sets a type of the second arrow exterior. |
ArrowTypeL | Gets or sets the arrow block name for leaders. |
Associated | Returns associated entity. |
DefPoint | Returns definition point. |
DIMBLK | Gets or sets the arrowhead block displayed at the ends of dimension lines. |
DIMBLK1 | Gets or sets the arrowhead for the second end of the dimension line. |
DIMBLK2 | Gets or sets the arrowhead for the second end of the dimension line. |
DIMCLRD | Assigns colors to dimension lines, arrowheads, and dimension leader lines. |
DIMCLRE | Assigns colors to extension lines, center marks, and centerlines. |
DIMCLRT | Assigns colors to dimension text. |
DIMLDRBLK | Specifies the arrow type for leaders. |
DIMLWD | Assigns lineweight to dimension lines. |
DIMLWE | Assigns lineweight to extension lines. |
DIMSD1 | Controls suppression of the first dimension line and arrowhead. |
DIMSD2 | Controls suppression of the second dimension line and arrowhead. |
DIMSE1 | Controls suppression of the first extension line. |
DIMSE2 | Controls suppression of the second extension line. |
DIMTIH | Controls the position of dimension text inside the extension lines. |
DIMTOH | Controls the position of dimension text outside the extension lines. |
ExtLineExt | Gets or sets a distance to extend the extension lines above a dimension line. |
ExtLineOffset | Gets or sets a distance to offset the extension lines from the points on the drawing that define a dimension. |
Flags | Sets or gets a dimension type byte. |
ForceText | Gets or sets the force text inside extensions if nonzero. |
LinDefPoint1 | Sets/gets first definition point for linear and angular dimensions. |
LinDefPoint2 | Sets/gets second definition point for linear and angular dimensions. |
MeasurementsScale | Gets or sets linear measurements scale factor. |
MiddlePoint | Sets or gets a middle point of the dimension text. |
Precision | Sets or gets a number of decimal places for the tolerance values. |
RadDefPoint | Sets or gets the definition point for diameter, radius, and angular dimensions. |
Style | Gets or sets dimension style. |
TextAlign | Gets the integer value specifing text alignment or sets text alignment by this integer value. |
TextHeigh | Gets or sets a height of the dimension text. |
TextOffset | Gets or sets a gap between the dimension text and the dimension line. |
TextOverride | For internal uses. |
TextPosVert | Gets or sets the text above dimension line if nonzero. |
TextRotation | Gets or sets the rotation angle of the dimension text. |
TextStyle | Gets or sets style of the dimension text. |
Derived from TsgDXFInsert | Description |
---|---|
Angle | The property sets or gets a rotation angle. |
Attribs | The property returns a list of the TsgDXFAttrib entities. |
Block | The property sets or gets inserted block. |
Extrusion | The property displays direction to local axis z. |
Owner | The property for nested block references, points to the TsgDXFInsert object whose block contains this block reference. |
Scale | The property contains scale in the X , Y and Z directions. |
Derived from TsgDXFCustomVertex | Description |
---|---|
Point | The property contains coordinates of the vertex. |
Derived from TsgDXFEntity | Description |
---|---|
Box | The property determines the 3d box embraced the entity. |
Color | The property gets or sets entity color. |
ColorCAD | The property gets or sets a color for drawing entities. |
Complex | The property determines whether a entity is populated with child entities. |
Converter | The property returns the TsgDXFConverter class object. |
Count | The property indicates the total number of child entities. |
Entities | The property lists all child entities. |
EntType | The property indicates type of an entity. |
Handle | The property is used for finding entity links. |
Layer | The property points to layer, containing given primitive if this layer is given. |
LineType | The property sets and gets line type for an entity. |
LineTypeScale | The property sets and gets the Linetype scale. |
LineWeight | The property sets or gets line weight in millimeters. |
PaperSpace | The property indicates Model Space and Paper Space entity segregation. |
SrcEnd | The property indicates end position of the entity description in the source CAD file. |
SrcStart | The property indicates start position of the entity description in the source CAD file. |
Visibility | The property sets and gets entities visibility. |
Visible | The property determines whether the component appears onscreen. |
Methods
Methods | Description |
---|---|
AssignEntity | Copies properties of source entity to a current entity. |
Destroy | Destroys an instance of the TsgDXFDimension class. |
Derived from TsgDXFInsert | Description |
---|---|
AssignEntity | The method copies properties of source entity to current entity. |
Attrib | The method returns the ATTRIB entity with given tag specified by S, and its insertion point. |
Create | Creates an instance of the TsgDXFInsert class object. |
Destroy | Frees up all internal objects before destroying this object. |
EntName | The method returns TsgDXFBlock.Name or returns TsgDXFEntity.EntName . |
FindBlock | The method returns the TsgDXFBlock entity specified by the AName parameter if exists. |
GetMatrix | The method returns a coordinate-transformation matrix. |
RealColor | The method inserts a specified entity to a list at a position specified by AIndex. |
RealLayer | The method returns AColor . |
Derived from TsgDXFEntity | Description |
---|---|
Clone | The method copies properties of source entity to current entity (include Handle ). |
Draw | The method generates the OnDraw event. |
GetBoxPoints | The method is used in drawing cycle for fast checking whether the entity must be drawn. |
GetThickness | The method returns entity's thickness. |
SetLType | The method sets line type of the entity. |
SetLWeight | The method sets line weight width of the entity. |
Events
Derived from TsgDXFEntity | Description |
---|---|
OnDraw | The event occurs when the Draw method is called. |