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.
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

User defined global variable

I have a complex model I have made even more (by moments undesirably) complex by using Revealmaker and Sidingmaker ('window' objects that make WALLHOLEs simulating reveals and siding) all over the place. 3D regeneration is getting sluggish and I am thinking of editing Revealmaker and Sidingmaker so that I can get them to END if new global variables 'killrevealmaker' and 'killsidingmaker' are on.

I never used user-defined global variables. Will making an object for turning them on and off work, consistently, always? From the GDL manual I understand there may be a risk that the script of the on-off object gets read after some or all of the windows and kills nothing that was read before, so that I should set them up in the MASTER_GDL script [which sounds a bit intimidating to me; I am past a deadline so I thought it would make sense to cry help! help!]
1 REPLY 1
Anonymous
Not applicable
You definitely would need to set the globals in a master script to ensure that all parts will read the values.

Some care needs to be taken with the globals though. If you have library parts that use them to pass parameters (hard to know this) they could reset the values you are depending on.

I once tried using a global to get my doors and windows to look properly for a reflected ceiling plan. Unfortunately I had to reload the libraries each time I reset the parameter to get the values to update globally, which pretty much defeated my purpose. I don't know if this is still true. If you try it you should keep this in mind.

All in all, the potential pitfalls may make this unworkable for you. You will probably find yourself spending more time fooling around with it than you can save in modeling time, and after spending the time you may still find that it doesn't work well enough to be useful.

Especially since you are past deadline, you should probably not attempt this unless the modeling time is crippling your progress. There are other tricks to saving time. Use the marquee to limit the model to your immediate work area. Turn off 3D fills in working section/elevations. Update your finished elevation drawing in a batch while you do something else.

Good luck. I hope this is helpful.