Page 1 of 1

Auto instancing

Posted: Thu Dec 16, 2021 14:38
by tenko_jp
Can the Wire dynamically expand / contract the array?
For example, when I put multiple "Circle Patterns" and switched with "Switch", I confirmed that the following nodes were expanded / contracted.
I think it would be nice if an array of general source nodes, not just "Circle Pattern", could be dynamically expanded or contracted without using "Switch", but is there a way?
(This sentence is an automatic translation, sorry for the poor sentence)

Re: Auto instancing

Posted: Wed Dec 22, 2021 10:53
by Zoltán
I'd use Gate for switching.
The Gate will do an expand to the highest instance count for you, your input instances will be repeated to fill all the instances.
--begin-wire-patch--
491.3oc4UEraiCBD8WYEmsiv.1Xxs1jp8ZuG4CDaZBZcfHLtcai7+9NfyljtsoUsU8v1ZK4wL9Mi48lAXGp1ZLpZu1Z5PSWrCciytAdAmf1J8dkyfpRPdK3hlfzls8dLpZH4.vryCL6Q.ImGHA.B9L1FELI1gvgG.VmdYuez0Ms16BV+8aUnoiCSP2Ja6CC6zqLxVz.7KrZiu6Djl9MKUtiXyvC.rk1dSSD1Zkd0ZOZZIL+tS23WCPD4IneCVFXuGrEBHj5VYWLBcCjVJkP3jh7zBJcdJilyRu7p4kob5U34TLkxmwC+TkqCjVzTbLC15eAwdqtQYgOVaast.YfqBIFGcY57x8LPZV0pdLok9SXBjRmrQ22cdL3I4A5tV2znfYwhfJK2D.NS6paU+358kD.T1mopSdCpdYT0oEkeGTcxmnpSe6854X92AUm99UccbVWqdEgOA0oZG2XMcD0AzQywTCEQ0JH5PH5GTuTZAHubthRBA87k8LbwSp6LV4DAlHxYY3r7BxXW.LdhHiCNywTAFb+jlBNuPL1TTJDorKDyRKIWbYpfI3YEPSAig+nME6Ot4ep3ji7cAbNEtJ4+pmUCGNd7KJwHeAI1gEymvs+tv8H4.zu26pyr20OkdUb8rS0Y6ci66LL7G7U7XuE
--end-wire-patch--