Skip to content

LibraryBitmapPreview

Implementation of the library bitmap preview

Functions:

create_libary_bitmap_preview

create_libary_bitmap_preview(png_file_name: str) -> List[Any]

deprecated function with typo

Parameters:

  • png_file_name (str) –

    pnt file name

Returns:

  • List[Any]

    list with the model elements for the preview

create_library_bitmap_preview

create_library_bitmap_preview(png_file_name: str) -> List[Any]

This function creates the preview objects, which are needed to draw a bitmap inside the preview window of the library

Parameters:

  • png_file_name (str) –

    full name of the png file

Returns:

  • List[Any]

    list with the model elements for the preview