2024-04-30 08:29 PM - last edited on 2024-09-16 02:50 PM by Doreena Deng
I am trying to create/place hotlink module via API.
However, I cannot find where can I set or get the Hotlink Master Id in either API_HotlinkNode or API_Element data.
I found this old thread:
https://community.graphisoft.com/t5/Archicad-C-API/Edit-Hotlink-Master-ID/td-p/366791
However, upon debugging, API_Element filler_3 doesn't have any data even though I specified a Master Id in my test hotlink module (I manually placed a hotlink module, specify the Master Id and read the hotlink element and hotlink node via API)
I am not sure if this master id is in the Hotlink Node userData as I did not find any existing hotlink manager api to process this API_HotlinkUserData (Not also available in the examples)
https://graphisoft.github.io/archicad-api-devkit/group___hotlink.html
Solved! Go to Solution.
2024-05-06 04:08 PM
Hi,
That ID was moved to its more natural place in the element memo, under `elemInfoString`. Please use that field to get and set the ID.
Best, Akos
2024-05-06 04:08 PM
Hi,
That ID was moved to its more natural place in the element memo, under `elemInfoString`. Please use that field to get and set the ID.
Best, Akos