Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

De/activate a UI Tab Page only in the GDL Editor

Nader Belal
Mentor
Hi there,

Is there a way/option that can activate a custom tab page only when the GDL Editor is active ?

Thank you in advance
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
1 ACCEPTED SOLUTION

Solution
Barry Kelly
Moderator
GLOB_PREVIEW_MODE works for me.
I just tried this in my interface script.
if GLOB_PREVIEW_MODE <> 1 then
	UI_PAGE iPageIDPage1, iPageIDRoot, `Shower & screen`, "uiTab_Descriptions_flat(1)"		!!!!icon images for buttons
		gosub "Page1"
else
endif
The page shows while I am in the GDL editor but not in the object settings back in Archicad.

Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

View solution in original post

2 REPLIES 2

Solution
Barry Kelly
Moderator
GLOB_PREVIEW_MODE works for me.
I just tried this in my interface script.
if GLOB_PREVIEW_MODE <> 1 then
	UI_PAGE iPageIDPage1, iPageIDRoot, `Shower & screen`, "uiTab_Descriptions_flat(1)"		!!!!icon images for buttons
		gosub "Page1"
else
endif
The page shows while I am in the GDL editor but not in the object settings back in Archicad.

Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

View solution in original post

Nader Belal
Mentor
Magnificent

Thank you @Barry
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!