Import properties from xml file to Archicad using development kit 22
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-01-09
04:10 PM
- last edited on
2022-09-29
09:46 AM
by
Daniel Kassai
2020-01-09
04:10 PM
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 .
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 .
Labels:
- Labels:
-
Add-On (C++)
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-10 10:57 AM
2020-02-10
10:57 AM
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
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