Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Refresh Object

Anonymous
Not applicable
Hi all,
I have created an object which reads the zone number it relates to. I have then populated a parameter that picks up the home story and combines it with the zone number.
Ie. I have a zone called '02' placed on level '3'
My outputted parameter reads 3-02

Works well, so I can schedule it. My problem is, if I want to update the zone number, the object parameter doesn't update until I open the object and then close it.

Is there a way I can include some sort of refresh code in my script when the zone is changed?
3 REPLIES 3
Erich
Booster
By "if I want to update the zone number" do you mean that you change the number of a placed zone or did you issue the "Update Zones" command?

If you just changed the zone number I do not think that a GDL object will pick up the change. It might with the "Update Zones" command but as I do not use or have such an object, you will need to test this.
Erich

AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
Barry Kelly
Moderator
Zone stamps are the only objects that will adjust as you alter a zone.

Standard objects can get information from a zone but as you have discovered you must force the object to run its scripts for the zone info to update.
This can be done by opening and closing the object settings, or a simple screen zoom or pan should do it or a 're-build and regenerate' command (CTRL+ALT+SHIFT+R).

Note: 're-build' command (CTRL+SHIFT+R) will not work as this does not regenerate the model.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Thanks,
Yes it seems a bit problematic with this approach. Will go down the IFC parameter path instead. Thanks