Articy Forum


https://www.articy.com:443/forum/

JSON contains hierarchy for all objects

https://www.articy.com:443/forum/viewtopic.php?f=33&t=18226

Page 1 of 1

JSON contains hierarchy for all objects

Posted: Tue 27. Jun 2017, 20:09
by RisingSun
Hi,

I've got articy:draft set up to export two separate JSON files. One is designated as my "Core" elements, and another is set up as the "MainCampaign" elements. The intention is that I can create a JSON file for each new story and distribute separately as DLC.
The core package contains no flow elements in the Package, yet it has the entire hierarchy contained in the "Hierarchy" JSON section. It looks like the exporter is ignoring whether or not the object exists in the package and has it appear in the Heirachy for every JSON file regardless. This doesn't seem right to me.

I hope I've explained, but if not I can provide samples.

Cheers!

Re: JSON contains hierarchy for all objects

Posted: Wed 28. Jun 2017, 09:11
by [Articy] Nico Probst
Hi RisingSun,

indeed, the Hierarchy node doesn't make much sense in your case. The Hierarchy is mainly used for single file exports and even then only for some rather rare usecases.
In the last update of articy:draft 3.1.0.31613 I added the option to disable specific blocks from the JSON export. With that feature it is possible to exclude the Hierarchy in the JSON export:

highlevel_json_nodes.png


Let me know if that helps!

Best regards

Nico

Re: JSON contains hierarchy for all objects

Posted: Sat 1. Jul 2017, 12:05
by RisingSun
Ah excellent - that'll be exactly what I need. Thanks! :)

All times are UTC
Page 1 of 1