Skip to content

CreateElementResult

Implementation of the data class for the result of the create_element function

CreateElementResult dataclass

Canonical path: CreateElementResult.CreateElementResult

Implementation of the data class for the result of the create_element function

Attributes:

  • elements (list[Any]) –

    list of elements to create

  • handles (list[HandleProperties]) –

    list of handles to create

  • preview_element (list[HandleProperties]) –

    list of element to draw only in the preview

  • placement_point (Point2D | Point3D | None) –

    if set, the point is used as global placement point for the elements

  • multi_placement (bool) –

    if True, the elements can be placed multiple times

  • preview_symbols (PreviewSymbols | None) –

    preview symbols to show in the preview

  • reinf_rearrange (ReinforcementRearrange) –

    properties for rearranging the reinforcement mark numbering

  • handle_placement_geo (list[Any]) –

    elements, which should be used during the handle modification

  • as_static_preview (bool) –

    if True, the preview is drawn as static preview

  • connect_to_ele (ConnectToElements) –

    data for the PythonPart connection to element(s)

  • uuid_parameter_name (str) –

    if set, the model object UUID of the created PythonPart is assigned to this name

  • elements_to_delete (BaseElementAdapterList | None) –

    elements which should be delete

is_empty

is_empty() -> bool

check for empty data

Returns:

  • bool

    True if no elements and handles exist, otherwise False

Placeholder