2007-07-19 08:17 AM - last edited on 2023-05-24 10:29 AM by Rubia Torres
2007-07-19 08:30 AM
Chris wrote:You will want to use .... n=REQUEST ("zone_relations", "", cat_name, code, name, numb)
I'm very new to AC and completely new to creating objects. What I want to do is have a lighting object automatically get the room name or number from the zone it's are placed on so that I can use that in my schedules. The door tags can do this so I'm hoping it's possible.
I've created some basic lighting symbols with parameters I can modify for various information - I could just add a room name parameter but if it could be automatic that would be pretty cool.
Any help is appreciated - thanks!
2007-07-19 08:30 AM
2007-07-20 02:36 AM
2007-09-28 05:43 AM
Barry wrote:This problem still hasn't been fixed in the latest hotfix (1086).
Be careful though in V11 - there is a bug.
The value for cat_name will also return the zone name.
It should really be returning the zone category but doesn't.
Hopefully it will be fixed in the next hotfix - it has been reported to GS.
Barry.
2007-09-28 11:27 PM
F. wrote:And the object parameter or other scripts are not run by the schedule (so that the script-generated value will be empty, displaying '---' in the schedule), which kills this approach for scheduling as far as I know.
But be aware, that you (AFAIK) can't store the result in a object parameter by the PARAMETERS command.If it has to be visible in the shedules, this might become a problem.