We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

[SLVD] create a link. How to see this link in other add-ons?

Anonymous
Not applicable
One of my big add-ons has created a connection using the function
ACAPI_Element_Link (...
The function
ACAPI_Element_GetLinks (...
Reports that there is 1 link. Those. everything is working.

Further processing I would like to do in another add-ons

But the function
ACAPI_Element_GetLinks (...
In another add-ons
Informs that the element has no connections.

How can I get data created by one add-on in another addon?

Advise, please.
2 REPLIES 2
Oleg
Expert
How can I get data created by one add-on in another addon?
AFAIK, You can't to do it directly.
Use the Inter Addon communication ( see Communication Manager)

Main addon have to provide some external function for query the link's info.
Other addon have to call this finction to get the info.
Akos Somorjai
Graphisoft
Graphisoft
Oleg wrote:
How can I get data created by one add-on in another addon?
AFAIK, You can't to do it directly.
Use the Inter Addon communication ( see Communication Manager)

Main addon have to provide some external function for query the link's info.
Other addon have to call this finction to get the info.
Oleg is right, you can only access other add-ons' data if those add-ons provide an internal interface via add-on – add-on communication.

Best, Akos