Layout XL question

P

PolyPusher

Guest
I have skill code that only works if the user is running Layout XL.
Is there a way to check if the current window is running Layout XL?

Thank you in advance,
Eric
 
Hi Eric,

Never done this before to be honest.
I just tried the following:
1. I have opened a layout-XL window and then tried the following in
the CIW:
CIW> hiGetCurrentWindow()~>??
This returned a list of properties among which I could find the
following :
lxMenusLoaded=t
lxMenuList= list of loaded menus.

The above couple of properties do not show up for a normal layout
window.

So as a first thought, I'd look at whether hiGetCurrentWindow()-
lxMenusLoaded is true as a check.
There might be other ideas I suppose ...

Cheers,
Riad.
 
Riad KACED wrote, on 09/11/09 18:36:
Hi Eric,

Never done this before to be honest.
I just tried the following:
1. I have opened a layout-XL window and then tried the following in
the CIW:
CIW> hiGetCurrentWindow()~>??
This returned a list of properties among which I could find the
following :
lxMenusLoaded=t
lxMenuList= list of loaded menus.

The above couple of properties do not show up for a normal layout
window.

So as a first thought, I'd look at whether hiGetCurrentWindow()-
lxMenusLoaded is true as a check.
There might be other ideas I suppose ...

Cheers,
Riad.
hiGetAppType(hiGetCurrentWindow()) => "Virtuoso XL"

In IC613, it could also return "VLS-GXL" if you're at the GXL tier.

Regards,

Andrew.

--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
 
On Sep 14, 5:59 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Riad KACED wrote, on 09/11/09 18:36:





Hi Eric,

Never done this before to be honest.
I just tried the following:
1. I have opened a layout-XL window and then tried the following in
the CIW:
CIW> hiGetCurrentWindow()~>??
This returned a list of properties among which I could find the
following :
lxMenusLoaded=t
lxMenuList= list of loaded menus.

The above couple of properties do not show up for a normal layout
window.

So as a first thought, I'd look at whether hiGetCurrentWindow()-
lxMenusLoaded is true as a check.
There might be other ideas I suppose ...

Cheers,
Riad.

hiGetAppType(hiGetCurrentWindow()) => "Virtuoso XL"

In IC613, it could also return "VLS-GXL" if you're at the GXL tier.

Regards,

Andrew.

--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)- Hide quoted text -

- Show quoted text -
Thank you very much for your replies! You Cadence gurus are the best.

PolyPusher....
 

Welcome to EDABoard.com

Sponsor

Back
Top