fileRandom

Syntax

string fileRandom(searchQuery)

Parameters

Returns

Returns random file from list specified in searchQuery.

Description

This function returns a random file from the files specified by searchQuery.

Related

Examples


	fileRandom("assets/*.obj")
	# result = any one obj file from the assets dir


Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.