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.

Help: Merge PLN file using API

Hoa Tu
Newcomer
Hi,

I am trying to write an API which will merge in an external PLN or MOD file. After going through the "API Development Kit" documentation and examples, I couldn't find any clue on how to do this.

Any clue will be appreciated.

Thanks
Hoa
2 REPLIES 2
Anonymous
Not applicable
Hello,

I have also been unable to find a simple way to do this. One way I thought of, although lengthy would be to:

save using ACAPI_Automate
open the mod file using ACAPI_Automate
get details of every element in the mod file using ACAPI_Element_GetNum and ACAPI_Element_Get
reopen the original file using ACAPI_Automate
create all the elements using ACAPI_Element_Create

I only use archiCAD 9. In version 10 there is elemet.drawing that may do this???

Thanks,
Adam
Anonymous
Not applicable
adambutler wrote:
Hello,

I have also been unable to find a simple way to do this. One way I thought of, although lengthy would be to:

save using ACAPI_Automate
open the mod file using ACAPI_Automate
get details of every element in the mod file using ACAPI_Element_GetNum and ACAPI_Element_Get
reopen the original file using ACAPI_Automate
create all the elements using ACAPI_Element_Create

I only use archiCAD 9. In version 10 there is elemet.drawing that may do this???

Thanks,
Adam
Is there a smarter way to do this?