AcDb2LineAngularDimension::AcDb2LineAngularDimension

C++

AcDb2LineAngularDimension(
    const AcGePoint3d& xLine1Start, 
    const AcGePoint3d& xLine1End, 
    const AcGePoint3d& xLine2Start, 
    const AcGePoint3d& xLine2End, 
    const AcGePoint3d& arcPoint, 
    const ACHAR * dimText = NULL, 
    AcDbObjectId dimStyle = AcDbObjectId::kNull
);

Description

This constructor uses the parameters passed in to initialize the dimension. In addition, the rest of the AcDbDimension, AcDbEntity, and others, default constructor initializations are performed.

A copy of the dimText string will be used by the dimension.

The dimText string will need to contain any desired MText formatting characters. The substring "<>" may be used anywhere within the string as a marker to indicate that the default text should be displayed there in place of the "<>". It is possible to have more than one set of "<>" in the text string, but only the first set will be interpreted as the default text place holder.

If dimText is NULL, then, when the dimension is closed, the dimension text string will be set to an empty string and the default dimension text will be used. (The dimension text is a text string automatically generated based on the dimStyle, dimVar settings, and the actual measurement of the angle.)

If dimStyle is left as AcDbObjectId::kNull, then the object ID of the current default dimstyle within the AutoCAD editor will be used.

xLine1Start (first extension line start point) is used for DXF group code 13.

xLine1End (first extension line end point) is used for DXF group code 14.

xLine2Start (second extension line start point) is used for DXF group code 15.

xLine2End (second extension line end point) is used for DXF group code 10.

arcPoint (arc definition point) is used for DXF group code 16.

dimText (the dimension annotation text) is used for DXF group code 1.

The name string within the dimension style specified by dimStyle is used for DXF group code 3.

Parameters

Parameters Description
xLine1Start Input start point (in WCS coordinates) of first extension line
xLine1End Input end point (in WCS coordinates) of first extension line
xLine2Start Input start point (in WCS coordinates) of second extension line
xLine2End Input end point (in WCS coordinates) of second extension line
arcPoint Input point that will be on the dimension arc
dimText Input text string to use as the dimension annotation
dimStyle Input object ID of dimension style table record to use as the dimension style

Links

AcDb2LineAngularDimension