GuiType Function

Returns whether a GUI is enabled

Arguments

No arguments

Returns

Return type: string

Can return one of two values: 'none' is returned when no GUI is enabled. This is the case when the script is run from the SIM2 utility which does not have a GUI. Normally this function returns 'single' meaning that a single-window GUI style is available. (This is as opposed to earlier SIMetrix versions which used a multiple window GUI type.)