The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (Archicad API, BIMx API, BIMcloud API) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, rmasaki, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy

Hey everyone,

i placed a library part with some changes in its memo with API commands. The GDL object that i place contains a call to a macro in its 2D script and requests back an array with calculated data from the macro. The problem is, that the new data from the macro arrives in the main object correctly (i tested it with displaying some texts in the ArchiCAD 2D viewport from the array) but when i request the array data via the API next it only returns the default values of the array parameter and not the newly calculated ones. Any other parameter i am reading from the object is correct.

Question: Do i have to update the object somehow before reading it from the API?
Thanks in advance!