Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Layout/Master Size or Master Name?

owen
Newcomer
Is it possible to find out either the size of a Layout that an object is placed on, or the name (or size) of the Master Layout assigned to that Layout?

Sheet size would be great, but the Master name would do the same trick as ours all begin with the sheet size.

cheers,

owen
cheers,

Owen Sharp

Design Technology Manager
fjmt | francis-jones morehen thorp

iMac 27" i7 2.93Ghz | 32GB RAM | OS 10.10 | Since AC5
3 REPLIES 3
Jochen Suehlo
Moderator
Have you tried autotext?
see:
http://www.selfgdl.de/9_diverse/ausdruecke/b_string/kompendium.php

There ist no master name and no size, but for example you can put all sheets with the same size in a subdirectory, which have the size in its name.
Or the subset-id, which is the id of the main folder.
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
owen
Newcomer
I don't believe you can read the displayed value of Autotext within GDL script as the Autotext is converted to the relevant value on display after the script is run, not 'within' the GDL script? e.g If trying to read <SUBSETNAME> and get say 'A1' the value returned is '<SUBSETNAME>' not 'A1'.

Anyway I am already using Subset Names for grouped drawings (e.g Subset = General Arrangement, Layout = Ground Floor).

thanks for the suggestions though


cheers,

os
cheers,

Owen Sharp

Design Technology Manager
fjmt | francis-jones morehen thorp

iMac 27" i7 2.93Ghz | 32GB RAM | OS 10.10 | Since AC5
Jochen Suehlo
Moderator
I just tested this in ArchiCAD 12.
For me it works on a layout with an object that shows autotext with the TEXT2 command.
But I found out that GDL is case sensitive, although it shouldn't be and this is not documented.

<subsetname> shows <subsetname>
But
<SUBSETNAME> shows the real name of the subset.
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de