Archicad C++ API
About Archicad add-on development using the C++ API.

Disabling and enabling the 3d view of an object

Vladislav V
Booster

Hello, can you tell me which command to use in the GDL script so that the 3d view can be disabled and enabled?

2 REPLIES 2

You mean this:

6DFEC472-B385-49C6-8B23-2177DC88EDE1.jpeg

AC 27 INT 5003 - AC 26 INT 6019 ( For MEP Purposes )
AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz 16.0 GB
David Maudlin
Virtuoso

Vladislav V:

 

One way is to set up a parameter for not showing 3D (my example uses an option from a Values list), then in the 3D Script adding a line of code such as:

 

If Show_3D="None" Then END ! no model

 

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