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

Layer Combinations Global Variable?

Anonymous
Not applicable
Hi all,

I'd like to create an object that changes automatically its 2D projection in plan in function of the ArchiCAD's layer combinations or of the height of the floor cut plane that is used in the plan view. It's an object that has two elements: one that should be visible in plan and one that should be visible in the reflected ceiling plan.

Is there a way to request in GDL script the actual Layer Combinations or the height of the floor cut plane used by ArchiCAD? Is there a global variable for each of these two parameters? I looked for such variable in the GDL reference guide and I found nothing in this respect.

Or,

Is there a way to achieve what I'm looking for using a different solution?

Does someone has an idea?

Thank you.
7 REPLIES 7
Look for the stories part of the master script of the elevator object. thats how i got that kind of stuff figured out.
David Maudlin
Rockstar
Raoul wrote:
Is there a way to achieve what I'm looking for using a different solution?
Another option is to connect the 2D display of the Object to a Model View Option (MVO) setting (for example MVO > Miscellaneous Settings for Library Parts > Lamps & HVAC Floor Plan Symbols: Realistic/Electrical/Reflected Ceiling Plan). You could look at the AC objects that use this feature for examples of how they work.

You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Erwin Edel
Rockstar
From what I can tell, they set up a parameter called gs_symbtype_2d_m in the parameter script using
call "GetPlanViewGlobals" parameters all returned_parameters gs_symbtype_2D_m
The returned value of 3 is the RCP settings from MVO.

1 is realistic symbol.

2 is electric symbol.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Anonymous
Not applicable
Great! Thank you all for your quick replies!
sinceV6
Advocate
Hi.
You can also use the story info requests to find what you need about story height and the glob_cutplanes_info global variable to get Floor Plan Cut Plane information.
Best regards.
Anonymous
Not applicable
Thank you sinceV6 for your suggestion!

Best regards.
For the cutplane implementing - analyze the roofmaker objects (AC19 and up) - it is pretty clear how it is made there.

Best Regards,
Piotr