Refresh Object
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-07-31 03:16 AM
‎2015-07-31
03:16 AM
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-07-31 06:05 AM
‎2015-07-31
06:05 AM
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.
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
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-07-31 07:56 AM
‎2015-07-31
07:56 AM
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.
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-07-31 08:01 AM
‎2015-07-31
08:01 AM
Thanks,
Yes it seems a bit problematic with this approach. Will go down the IFC parameter path instead. Thanks
Yes it seems a bit problematic with this approach. Will go down the IFC parameter path instead. Thanks