Skip to content

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

end_scale class-attribute instance-attribute

end_scale: float = 9999

The scale, to which the view is displayed (scale range's upper limit)

ref_pnt1_x class-attribute instance-attribute

ref_pnt1_x: float = 0

X coordinate of the first resizing point

ref_pnt1_y class-attribute instance-attribute

ref_pnt1_y: float = 0

Y coordinate of the first resizing point

ref_pnt1_z class-attribute instance-attribute

ref_pnt1_z: float = 0

Z coordinate of the first resizing point

ref_pnt2_x class-attribute instance-attribute

ref_pnt2_x: float = 0

X coordinate of the second resizing point

ref_pnt2_y class-attribute instance-attribute

ref_pnt2_y: float = 0

Y coordinate of the second resizing point

ref_pnt2_z class-attribute instance-attribute

ref_pnt2_z: float = 0

Z coordinate of the second resizing point

scale_x class-attribute instance-attribute

scale_x: int = 1

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

scale_y: int = 2

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

scale_z: int = 3

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

start_scale: float = 0

The scale, from which the view is displayed (scale range's lower limit)

visibility_layer_a class-attribute instance-attribute

visibility_layer_a: bool = True

Whether the view should be visible on layer A

visibility_layer_b class-attribute instance-attribute

visibility_layer_b: bool = True

Whether the view should be visible on layer B

visibility_layer_c class-attribute instance-attribute

visibility_layer_c: bool = True

Whether the view should be visible on layer C

visible_in_2d class-attribute instance-attribute

visible_in_2d: bool = True

Whether the view should be visible in the ground view

visible_in_3d class-attribute instance-attribute

visible_in_3d: bool = True

Whether the view should be visible in the isometric view