[quote user="Michal Kurzewski"]its just example that collects all the IDs from model into an array[/quote]
You don't need to do that. Use ElementEnumerator.BuildArrayFromContents()
[quote user="Michal Kurzewski"]its just example that collects all the IDs from model into an array[/quote]
You don't need to do that. Use ElementEnumerator.BuildArrayFromContents()