Skip to content

GeometryStringValueConverter

implementation of the geometry string and value converter

GeometryStringValueConverter

Canonical path: Utils.GeometryStringValueConverter.GeometryStringValueConverter

implementation of the geometry string and value converter

get_element staticmethod

get_element(geometry_ele_str: str) -> Any

get the elements from a string

Parameters:

  • geometry_ele_str (str) –

    geometry element string

Returns:

  • Any

    value of the geometry element

get_elements staticmethod

get_elements(
    geometry_ele_str_list: List[str], convert_to_3d: bool
) -> List[Any]

get the elements from a string

Parameters:

  • geometry_ele_str_list (List[str]) –

    list with the geometry element strings

  • convert_to_3d (bool) –

    convert the elements to 3D elements state

Returns:

  • List[Any]

    value of the geometry element

to_string staticmethod

to_string(geometry_ele: Any) -> str

convert the geometry_ele to a string

Parameters:

  • geometry_ele (Any) –

    geometry element

Returns:

  • str

    string from geometry element

Placeholder