License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
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