Skip to content

Create Element Result

Class full path: CreateElementResult.CreateElementResult

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

Args:

elements       : created element
handles        : created handles
preview_element: created element only for drawing in the preview
placement_point: if set, the point is used as global placement point for the elements
multi_placement: if True, the elements can be placed multiple times

Functions

is_empty()

check for empty data

Returns:

Type Description
bool

True if no elements and handles exist, otherwise False