
Creates an diametral dimension object. The positioning of dimensions is based on the local X-Y plane. The DiametralDimension itself can be positioned, or it can rely on its parent. The points that are referenced need not be in the dimension plane. Placement of text, arrows, dimension and extension lines is currently automatic. Text will be placed inside the extension lines if possible, and arrows will also be placed inside if possible. When things don't fit, the location: parameter can be used to control on which side the dimension falls.
Note that many of the controls for dimensions are part of DimRadialDiametralMixin, DimensionTextMixin, and InkDimensionMixin.
DimRadialDiametralMixin
DimensionTextMixin
InkDimensionMixin
| Name | Type | Description |
|---|---|---|
| center | point | Center of the diametral dimension. |
| location | point | Point used to determine a radial distance at which to locate the dimension; cannot be coincident with fromPoint or toPoint. |
| diameter | number | Diameter to dimension. |
| Name | Type | Description |
|---|---|---|
| dimPrefix | string | Text string that precedes the dimension value. The default is "~xf8" which is a diameter symbol. |
| dimLineTo? | boolean | Specifies whether to show the to-side dimension line. Default is False. |
| extLineTo? | boolean | Specifies whether to show the to-side extension line. Default is dimLineTo. |
| Name | Type | Description |
|---|---|---|
| measurement | number | Calculated value for the dimension. This is an unrounded, double precision number. |
| extLineFrom? | boolean | Specifies whether to show the from-side extension line. Default is True. |
| dimLineToEnd | point | End point on the dimension line nearest the toPoint. |
| dimLineToStart | point | Start point on the dimension line nearest the toPoint. |
| extLineToStart | point | Start point on the extension line associated with the toPoint. |
| extLineToEnd | point | End point on the extension line associated with the toPoint. |
<<arc>> Specifies the center and diameter using the supplied arc.
See Also: DimRadialDiametralMixin
, DimensionTextMixin and InkDimensionMixin

| Child Name: | dimension | |
| Child Design: | :DiametralDimension | |
| Name | Type | Supplied |
| center | point | point(0,0,0) |
| diameter | number | 1 |
| location | point | point(1,1,0) |

| Child Name: | circle | |
| Child Design: | :arc | |
| Name | Type | Supplied |
| center | point | point(0,0,0) |
| diameter | number | 1 |
| Child Name: | dimension | |
| Child Design: | :DiametralDimension | |
| Name | Type | Supplied |
| arc | part | circle |
| location | point | point(-1,-1,0) |

| Child Name: | circle | |
| Child Design: | :arc | |
| Name | Type | Supplied |
| center | point | point(0,0,0) |
| diameter | number | 1 |
| Child Name: | dimension | |
| Child Design: | :DiametralDimension | |
| Name | Type | Supplied |
| arc | part | circle |
| dimToLine? | boolean | True |
| extToLine? | boolean | True |
| location | point | point(-1,-1,0) |