I've been looking for ways to ease the Articy/Dialogue System pipeline for our designers and one feature request that came up was triggering an automatic import of the Articy xml file in the Dialogue System upon exporting it (instead of bringing up the editor window and doing it manually).
Is there a way to accomplish this? I've successfully tracked down the xml file change with an asset post processor, but the only call I've seen in the docs to import it to the DS is
but it doesn't update the database, even passing Overwrite = true in the prefs. (I assume this only works at runtime as specified in the import section of the docs)
The easiest way is to leverage the existing Articy import window. This is the code that the "Reconvert..." button uses in the upper right of the dialogue database inspector:
quick and efficient as ever, thank you so much. For anyone wondering how to do this, just make sure to populate the relevant data in the importer window before triggering the two main functions: