assetsSortSize function


string   assetsSortSize(filePathList, axisSize, maxScaleError)

string[] assetsSortSize(filePaths, axisSize, maxScaleError)



A string list or a string array with all or a subset of the files in the input filePathList / filePaths, sorted in order how good they match the reference size (first is best, last is worst). The maxScaleError parameter can be used to only take the geometry assets matching a certain size range.


Looks at all geometry files in the input filePathList / filePaths and sorts them depending on their size relative to the size of the scope axes defined by maxScaleError.


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