View
Canonical path: PythonPart.View
Definition of a view class
visibility2d
property
Get the 2D visibility flag
Returns:
-
bool
–2D visibility flag
visibility3d
property
Get the 3D visibility flag
Returns:
-
bool
–3D visibility flag
visibility_layer_a
property
writable
Get the Layer A visibility flag
Returns:
-
bool
–Layer A visibility flag
visibility_layer_b
property
writable
Get the Layer B visibility flag
Returns:
-
bool
–Layer B visibility flag
visibility_layer_c
property
writable
Get the Layer C visibility flag
Returns:
-
bool
–Layer C visibility flag
__init__
__init__(
viewtype: MacroSlideType = AllplanBasisEle.MacroSlideType.eGeometry,
visibility2d: bool = True,
visibility3d: bool = True,
start_scale: float = 0.0,
end_scale: float = 9999.0,
elements: list[Any] | None = None,
)
initialization of view class
Parameters:
-
viewtype
(MacroSlideType
, default:eGeometry
) –view type. Defaults to AllplanBasisElements.MacroSlideType.eGeometry.
-
visibility2d
(bool
, default:True
) –visible in 2D. Defaults to True.
-
visibility3d
(bool
, default:True
) –visible in 3D. Defaults to True.
-
start_scale
(float
, default:0.0
) –start scale. Defaults to 0.
-
end_scale
(float
, default:9999.0
) –end scale. Defaults to 9999.
-
elements
(list[Any] | None
, default:None
) –elements. Defaults to None.
Placeholder