assetFitSize

Syntax

string assetFitSize(searchQuery, axisSize, maxScaleError)

Parameters

Returns

Random asset (according to axisSize) which is in the maxScaleError range.

Description

This function returns one of the assets in the maxScaleError range, from the files specified by searchQuery, according to the specified axisSize string.

Related

Examples

assetFitSize("assets/*.obj", "xz", 0.2)
# result = "assets/chosenAsset.obj"

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