2023-04-11 11:24 AM
Now we can attach labels in AC26, I thought I'd create a GDL label to match my company's zone stamp. However, I can't find any way to extract all the necessary data from the attached zone.
There is the ZONE_RELATIONS request, but that doesn't return any area data. I've also tried the ASSOCLP_PARVALUE request, but that doesn't work either.
In particular, I'm after the different types of areas; but I also need to retrieve parameter info.
Any ideas?
Solved! Go to Solution.
2023-04-11 02:14 PM
This is documented in the GDL-Manual under the following header:
BUILT-IN PROPERTY GUIDE
Example Script for room number:
_actProperty = "Builtin.Zone_ZoneNumber" ! Room Numebr
m = request ("Property_Value_Of_Parent", _actProperty, _typeValue, dim1, dim2, _propertyValues)
_inhalt_2D[i] = _propertyValues
Note that not all zone parameters are available for labels.
2023-04-11 11:36 AM
Also faced the same problem. Looks like ASSOCLP_PARVALUE doesn't work with zone members. It is strange that such a restriction is not described in the documentation.
Structural engineer, developer of free addon for sync GDL param and properties
2023-04-11 12:05 PM
This is a brand new feature, so I imagine they will work through such things shortly...
2023-04-11 02:14 PM
This is documented in the GDL-Manual under the following header:
BUILT-IN PROPERTY GUIDE
Example Script for room number:
_actProperty = "Builtin.Zone_ZoneNumber" ! Room Numebr
m = request ("Property_Value_Of_Parent", _actProperty, _typeValue, dim1, dim2, _propertyValues)
_inhalt_2D[i] = _propertyValues
Note that not all zone parameters are available for labels.
2023-04-13 11:44 AM
Thanks Joachim - that's what I was looking for!
This solves 85% of what I need. What is missing is the parameter requests for the zone.
Thanks again.