May i know is there a way to obtain the L/XL/GXL mode of current open cellview. Thanks
There's two ways:
deGetViewType([windowId]) returns "maskLayout", "maskLayoutXL" or "maskLayoutGXL"
hiGetAppType(hiGetCurrentWindow()) returns "Layout" "Virtuoso XL" or "VLS-GXL" (bit inconsistent this one!)
I managed to find the function after my post. And you're fast too.