assetsSortRatio function

string assetsSortRatio(filePathList, axesRatio)
string[] assetsSortRatio(filePaths, axesRatio)

filePathList string String list with geometry files, separated with ; including after the last entry.

filePaths string[] String array with geometry files.

axesRatio selector xy, xz, yz, xyz define which scope axes ratio is used as a reference.

Returns a string list or string array with all files in the input filePathList or filePaths, sorted by how well they match the reference ratio, from best to worst.

Looks at all geometry files in the input filePathList or filePaths and sorts them depending on their ratio relative to the ratio of the scope axes defined by the axesRatio selector.

Related