cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Rollmops
Booster

Possible? GDL Object that displays first two characters of Layout ID - but placed on master layout

Hi, we would like to have an automated GDL object that displays only the first 2 characters of the Layout ID no. 

I want to place the GDL object on a Master Layout. I have only managed to get it working with placing an object on the layout itself but that's not very helpful.

Example:

  • A layout (“Layout XY”) has the Layout ID “GR00”
  • “Layout XY” uses “Master Layout A”
  • On “Layout XY”, a Text (placed on the master layout) should display “GR” instead of “GR00

     

    Operating system used: Windows 11

Setup info provided by author
1 Solution

Accepted Solutions
runxel
Moderator

Yeah I think that is not doable right now.

You can either use the Autotext, which of course is not usable as a GDL string, so you'd have the full Layout ID, or you use the request value, but that one is not being passed through (which is actually a feature rather than a bug).

I'd go with the object on the layout, even if it needs a bit of work to keep track of it.

Lucas Becker | AC 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text

My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»

Go to post

6 Replies 6
runxel
Moderator

Yeah I think that is not doable right now.

You can either use the Autotext, which of course is not usable as a GDL string, so you'd have the full Layout ID, or you use the request value, but that one is not being passed through (which is actually a feature rather than a bug).

I'd go with the object on the layout, even if it needs a bit of work to keep track of it.

Lucas Becker | AC 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text

My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Barry Kelly
Moderator

Or place autotext on the master and add a white fill with white perimeter to cover the second half of the layout name.

It might be a bit of trial and error to get the fill position, or use trace & reference to help.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Rollmops
Booster

Thats a shame, thank you for answering.

cuba
Advisor

Here is an object that works on the layout but unfortunately not on the master.... 

It works on the master when use the name of the layout not the ID. I guess this is because. the master itself has no ID

Apple M1 Max 32 GB
Latest AC
Rollmops
Booster

Hi, thank you. Unfortunately it can only display the master-layoutname when placed on the masterlayout.

Lingwisyer
Guru

I have hotspots on a few of my masters for placement position of specific objects that pull info from the layout...

AC22-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

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!