Archicad C++ API
About Archicad add-on development using the C++ API.

how to add user data to the hotlink source pln file in the host pln file?

Anonymous
Not applicable
I add some hotlinks to a host pln file.
I can get the hotlinkNode by the API.
But how can I add user data to the hostlink source pln file?
Thanks.
5 REPLIES 5
Anonymous
Not applicable
Can anyone provide some ideas?
Thanks very much.
MOREH Tamas
Graphisoft
Graphisoft
DevJeer wrote:
I add some hotlinks to a host pln file.
I can get the hotlinkNode by the API.
But how can I add user data to the hostlink source pln file?
Thanks.
Hi! Do you mean, the hotlinked.pln should store a user data, not the host.pln? Would you like to see the stored user data in the hotlinked.pln?
Anonymous
Not applicable
MOREH wrote:
DevJeer wrote:
I add some hotlinks to a host pln file.
I can get the hotlinkNode by the API.
But how can I add user data to the hostlink source pln file?
Thanks.
Hi! Do you mean, the hotlinked.pln should store a user data, not the host.pln? Would you like to see the stored user data in the hotlinked.pln?
Hi. Yes,I would like store user data in the hotlink source file,not the host file.
MOREH Tamas
Graphisoft
Graphisoft
You can't edit the hotlinked.pln file directly from the host. You have to open it in a second ARCHICAD instance and set the user data there.
Anonymous
Not applicable
MOREH wrote:
You can't edit the hotlinked.pln file directly from the host. You have to open it in a second ARCHICAD instance and set the user data there.
Thanks.
ACAPI_Automate (APIDo_OpenID, &openPars)
The above api can open the hostlinked.pln. But I would not like to open the hostlinked.pln in Archicad.
Is there other method can solve the problem?