BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

GDL
About building parametric objects with GDL.
SOLVED!

DICT type in Assoclp_parvalue request - not work

kuvbur
Enthusiast
Is any way to read dict-parameter from placed GDL object via REQUEST "ASSOCLP_PARVALUE"? Reference guide said that "LIBRARYGLOBAL requests cannot return dictionary type values", but there is no other limit to use DICT in REQUEST.

Structural engineer, developer of free addon for sync GDL param and properties

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Pertti Paasky
Expert
The GDL manual says:
• in REQUEST options currently there is no request supporting dictionaries. However, the possibility is open for the future.
It looks like requests do not usually support dictionaries. But You can always assign values to dictionaries after requesting them the usual way.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

View solution in original post

2 REPLIES 2
Solution
Pertti Paasky
Expert
The GDL manual says:
• in REQUEST options currently there is no request supporting dictionaries. However, the possibility is open for the future.
It looks like requests do not usually support dictionaries. But You can always assign values to dictionaries after requesting them the usual way.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
kuvbur
Enthusiast
Hopefully new updates will resolve this issue. At this time i request 10 array from object to label, and want to change this to one request that return one dictionary. It's strange, REQUEST "Property_Values_Of_Parent" returns dictionary.

Structural engineer, developer of free addon for sync GDL param and properties

Learn and get certified!