cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum
GDL coding questions, Python and add-on development using the API Dev Kit.

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

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!