GDL
About building parametric objects with GDL.
SOLVED!

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

Accepted Solutions
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 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

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 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
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.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!