GDL
About building parametric objects with GDL.
SOLVED!

Zone data via attached label

Bruce
Expert

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?

Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5003 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Jochen Suehlo
Advisor

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.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

View solution in original post

4 REPLIES 4
kuvbur
Enthusiast

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

Bruce
Expert

This is a brand new feature, so I imagine they will work through such things shortly...

Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5003 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Solution
Jochen Suehlo
Advisor

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.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Bruce
Expert

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.

Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5003 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!