cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Import properties from xml file to Archicad using development kit 22

Anonymous
Not applicable
Hello,
I am developing an add-On for Archicad with the Archicad 22 development kit for importing a property from an xml file to Archicad. I am using the TestXMLImport function from the Property_test example that is in the api development kit for version 22 to import a property to Archicad but the problem is that it only creates the group of properties, whereas I want it to create the properties with their values as well.

If someone can help me Thanks .
1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft
Hi,

The TestXMLImport function immediately deletes the new property definitions (ACAPI_Property_DeletePropertyDefinition() calls at the end of the test function), that's why you don't see the result in ARCHICAD.

Best, Akos