PythonPartViewData
implementation of the data class for the view data
PythonPartViewData
dataclass
Canonical path: PythonPartViewData.PythonPartViewData
Data class with the properties of a PythonPart view
all_drawing_types
class-attribute
instance-attribute
add drawing type state
drawing_types
class-attribute
instance-attribute
drawing_types: list[int | DefaultDrawingTypes] | None = None
When all_drawing_types
is set to False, this property defines the drawing types
for which the view should be visible. If it is None, the view is visible in all drawing types.
end_scale
class-attribute
instance-attribute
The scale, to which the view is displayed (scale range's upper limit)
ref_pnt1_x
class-attribute
instance-attribute
X coordinate of the first resizing point
ref_pnt1_y
class-attribute
instance-attribute
Y coordinate of the first resizing point
ref_pnt1_z
class-attribute
instance-attribute
Z coordinate of the first resizing point
ref_pnt2_x
class-attribute
instance-attribute
X coordinate of the second resizing point
ref_pnt2_y
class-attribute
instance-attribute
Y coordinate of the second resizing point
ref_pnt2_z
class-attribute
instance-attribute
Z coordinate of the second resizing point
scale_x
class-attribute
instance-attribute
Direction, in which the view should be resized, when the whole PythonPart is resized in the X direction.
- 1 - in X direction;
- 2 - in Y direction;
- 3 - in Z direction
scale_y
class-attribute
instance-attribute
Direction, in which the view should be resized, when the whole PythonPart is resized in the Y direction.
- 1 - in X direction;
- 2 - in Y direction;
- 3 - in Z direction
scale_z
class-attribute
instance-attribute
Direction, in which the view should be resized, when the whole PythonPart is resized in the Y direction.
- 1 - in X direction;
- 2 - in Y direction;
- 3 - in Z direction
start_scale
class-attribute
instance-attribute
The scale, from which the view is displayed (scale range's lower limit)
visibility_layer_a
class-attribute
instance-attribute
Whether the view should be visible on layer A
visibility_layer_b
class-attribute
instance-attribute
Whether the view should be visible on layer B
visibility_layer_c
class-attribute
instance-attribute
Whether the view should be visible on layer C
visible_in_2d
class-attribute
instance-attribute
Whether the view should be visible in the ground view