Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiGetDefaultThumbnail

hiGetDefaultThumbnail(
?viewType t_viewType
[ ?size g_size ]
)
=> icon / nil

Description

Displays a default cellview type thumbnail when a thumbnail is not available for that application. This prevents the thumbnail area of a dialog or window from being left blank.

Arguments

?viewType t_viewType

  

Refers to the database view type. Supported view types are maskLayout, symbol, and schematicSymbol.

?size g_size

Fixed number or fixed number pair (for example 123:456) that indicates the requested size of the image.

Value Returned

icon

Thumbnail icon successfully displayed.

nil

Cellview type not recognized or no thumbnail available at the requested resolution. If not supplied, defaults to hiGetDefaultThumbnailResolution() return value.

Example

myImage = hiGetDefaultThumbnail( ?viewType "maskLayout" )

Related Topics

Thumbnail View Functions

hiGenerateThumbnails

hiGetDefaultThumbnailResolution


Return to top
 ⠀
X