I have a Quartz Composer document which I’m trying to edit but since this is my first dive into QC, I have little to no clue what I’m doing.
The task could be simple: There is an XML Importer and an Iterator. Now I want to use the amount of elements in the imported XML as amount of Iterations.
Can anyone help me achieve this??
Thanks,
thomas
I have a Quartz Composer document which I’m trying to edit but since this
Share
XML Importeroutputs a QC Structure. There are a few built-in operations you can perform on Structures, such as theStructure Countpatch.If you want to count the number of XML elements inside the top level, feed
XML ImporterintoStructure Count, and feed that intoIterations.Inside the iterator, you’ll probably want to feed
IndexfromIterator Variablesinto theStructure Index Memberpatch, to extract one element of the Structure for each iteration.