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

Mahmoud Qenawi
Advisor

You mean this:

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

AC 25 INT 3002
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

AC26 USA • iMac 27" 4.0GHz Quad-core i7 | 24 gb ram • MacBook Pro 2.8GHz | 16 gb ram • OSX11.7.10

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!