Dimension#
| Attribute Name | Data Type | Description | 
|---|---|---|
| no | int | Object number | 
| type | Dimension type | |
| user_defined_name_enabled | bool | User-defined name enabled | 
| name | str | Name | 
| display_properties_index | int | Style | 
| dimension_line_offset | float | Dimension line offset | Δ | 
| is_custom_vertical_position | bool | Custom vertical position | 
| custom_vertical_position | Custom vertical position | |
| is_custom_horizontal_position | bool | Custom horizontal position | 
| custom_horizontal_position | Custom horizontal position | |
| symbol | str | Symbol | 
| comment | str | Comment | 
| measured_length | float | Measured length | L | 
| measured_lengths | List[float] | Measured lengths | L | 
| measured_angle | float | Measured angle | α | 
| measured_angles | List[float] | Measured angles | α | 
| measured_slope | float | Measured slope | α | 
| is_global_dimension_line_offset | bool | Dimension line offset to global axes | 
| linear_coordinate_system | int | Coordinate system | 
| linear_reference | Reference | |
| linear_global_dimension_line_offset_y | float | Global dimension line offset | Δ_Y | 
| linear_global_dimension_line_offset_z | float | Global dimension line offset | Δ_Z | 
| linear_global_dimension_line_offset | Global dimension line offset | |
| linear_reference_table | Table of reference objects | |
| arc_length_reference_line | int | Reference line | 
| arc_length_reference_table | Table of reference objects | |
| arc_length_angle_greater_than_180 | bool | Angle greater than 180° | 
| angular_reference_table | Table of reference objects | |
| angular_quadrant | Quadrant | |
| angular_angle_greater_than_180 | bool | Angle greater than 180° | 
| radius_diameter_reference_line | int | Reference line | 
| radius_diameter_is_target_point | bool | Target point | 
| radius_diameter_target_point_coordinate_y | float | Target point coordinates | Y | 
| radius_diameter_target_point_coordinate_z | float | Target point coordinates | Z | 
| radius_diameter_target_point_coordinates | Target point coordinates | |
| radius_diameter_position_on_line | float | Position on line | t | 
| slope_coordinate_system | int | Coordinate system | 
| slope_plane | Plane | |
| slope_reference_type | Reference type | |
| slope_reference_line | int | Reference member | 
| slope_first_point_coordinate_y | float | First point coordinates | Y | 
| slope_first_point_coordinate_z | float | First point coordinates | Z | 
| slope_first_point_coordinates | First point coordinates | |
| slope_second_point_coordinate_y | float | Second point coordinates | Y | 
| slope_second_point_coordinate_z | float | Second point coordinates | Z | 
| slope_second_point_coordinates | Second point coordinates | |
| slope_direction | Direction | |
| slope_refer_distance_from_line_end | bool | Refer distance to the line end | 
| slope_position_absolute | float | Position | Δ_p | 
| slope_position_relative | float | Position | Δ_p | 
| slope_position_is_relative | bool | Position is relative | 
| parent_layer | int | Parent layer | 
| is_locked_by_parent_layer | bool | Locked by parent layer | 
| is_generated | bool | Generated by | 
| generating_object_info | str | Generated by | 
| is_detail_dimension | bool | Detail dimension | 
| detail_dimension_parent_object | int | Parent object of detail dimension | 
| id_for_export_import | str | |
| metadata_for_export_import | str | 
Associated Data Types
LinearReferenceTable#
| Attribute Name | Data Type | Description | 
|---|---|---|
| rows | List[LinearReferenceTableRow] | 
LinearReferenceTableRow#
| Attribute Name | Data Type | Description | 
|---|---|---|
| no | int | |
| description | str | |
| reference_object_type | ||
| reference_object | int | |
| line_relative_distance | float | |
| coordinate_y | float | |
| coordinate_z | float | 
ArcLengthReferenceTable#
| Attribute Name | Data Type | Description | 
|---|---|---|
| rows | 
ArcLengthReferenceTableRow#
| Attribute Name | Data Type | Description | 
|---|---|---|
| no | int | |
| description | str | |
| reference_object_type | ||
| reference_object | int | |
| line_relative_distance | float | |
| coordinate_y | float | |
| coordinate_z | float | 
AngularReferenceTable#
| Attribute Name | Data Type | Description | 
|---|---|---|
| rows | List[AngularReferenceTableRow] | 
AngularReferenceTableRow#
| Attribute Name | Data Type | Description | 
|---|---|---|
| no | int | |
| description | str | |
| reference_object_type | ||
| reference_object | int | |
| line_relative_distance | float | |
| coordinate_y | float | |
| coordinate_z | float | 
Associated Enums
Type#
| Name | 
|---|
| TYPE_UNKNOWN | 
| TYPE_ANGULAR | 
| TYPE_ARC_LENGTH | 
| TYPE_DIAMETER | 
| TYPE_LINEAR | 
| TYPE_RADIUS | 
| TYPE_SLOPE | 
CustomVerticalPosition#
| Name | 
|---|
| CUSTOM_VERTICAL_POSITION_CENTER | 
| CUSTOM_VERTICAL_POSITION_ABOVE | 
| CUSTOM_VERTICAL_POSITION_UNDER | 
CustomHorizontalPosition#
| Name | 
|---|
| CUSTOM_HORIZONTAL_POSITION_CENTER | 
| CUSTOM_HORIZONTAL_POSITION_LEFT | 
| CUSTOM_HORIZONTAL_POSITION_RIGHT | 
LinearReference#
| Name | 
|---|
| LINEAR_REFERENCE_LENGTH | 
| LINEAR_REFERENCE_PROJECTION_IN_X | 
| LINEAR_REFERENCE_PROJECTION_IN_Y | 
ReferenceObjectType#
| Name | 
|---|
| REFERENCE_OBJECT_TYPE_POINT | 
| REFERENCE_OBJECT_TYPE_CONTROL_POINT | 
| REFERENCE_OBJECT_TYPE_LINE | 
| REFERENCE_OBJECT_TYPE_LOCATION | 
| REFERENCE_OBJECT_TYPE_POINT_ON_LINE | 
| REFERENCE_OBJECT_TYPE_SNAP_POSITION | 
| REFERENCE_OBJECT_TYPE_STRESS_POINT | 
AngularQuadrant#
| Name | 
|---|
| ANGULAR_QUADRANT_POSITIVE | 
| ANGULAR_QUADRANT_LEFT | 
| ANGULAR_QUADRANT_NEGATIVE | 
| ANGULAR_QUADRANT_RIGHT | 
SlopePlane#
| Name | 
|---|
| SLOPE_PLANE_PROJECTION_IN_X | 
| SLOPE_PLANE_PROJECTION_IN_Y | 
SlopeReferenceType#
| Name | 
|---|
| SLOPE_REFERENCE_TYPE_LINE_OR_MEMBER | 
| SLOPE_REFERENCE_TYPE_TWO_POINTS | 
SlopeDirection#
| Name | 
|---|
| SLOPE_DIRECTION_UPWARD | 
| SLOPE_DIRECTION_DOWNWARD |