cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.

Get the layout name

Bruce
Advisor

How do I get the layout name?  I can't find a request command, or a global variable, or an AC_ variable.

 

I know how to do a TEXT2 0, 0, "<LAYOUTNAME>", but I can't extract this to run a STRSTR command.

 

_layoutName = "<LAYOUTNAME>" doesn't work.

Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
11 REPLIES 11

Hi,

 

not a direct solution, but you can use <SUBSETNAME> to get the layout group name, and organize drawings by that.

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
Bruce
Advisor

Thanks Peter.  I was aware of that option - unfortunately won't work in this particular scenario, given how my client arranges their sheets.

Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb