GDL
About building parametric objects with GDL.

Editable hotspots and performance

jc4d
Expert

Hello,

 

Let's say I have created a closet in GDL and I have a hotspot for height,  one for width, one for depth and additional hotspots for each shelf.

Will be any hit in performance 2D and/or 3D if I add like 50 of those closet units in a drawing?

 

Juan

 

2 REPLIES 2
Barry Kelly
Moderator

I shouldn't think so unless you have very weak hardware.

Even then I doubt it.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
runxel
Legend

In general: no.

You will hit performance drops not by having many objects in your scene, but while editing complicated objects with the hotspots. That's why you should always reduce the complexity via using an IF structure and GLOB_FEEDBACK_MODE.

Thats because the object will be redrawn and recalculated hundreds of times per second while editing with hotspots. Heavy operations like SEO and REQUESTS, etc. will slow this down. But again, only while editing. The perf of the file overall will not be reduced.

Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»