License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
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 28 INT 3001/WIN 11
AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz 16.0 GB
David Maudlin
Rockstar

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