cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
kristkun
Participant

Configure/Edit/Get Hotlink Master Id via API

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)

kristkun_1-1714501524159.png

 

kristkun_0-1714501441340.png

 

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

1 Solution

Accepted Solutions
Akos Somorjai
Graphisoft
Graphisoft

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

Go to post

1 Reply 1
Akos Somorjai
Graphisoft
Graphisoft

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

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!