assetsSortRatio function


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


  1. filePathListstring
    String list with geometry files, separated with ";" (also after the last entry).
  2. filePathsstring[]
    String array with geometry files.
  3. axesRatioselector
    { xy | xz | yz | xyz }— Defines which scope axes ratio is used as a reference.


A string list or a string array with all files in the input filePathList/filePaths, sorted in order how good they match the reference ratio (first is best, last is worst).


The assetsSortRatio function looks at all geometry files in the input filePathList/filePaths and sorts them depending on their ratio relative to the ratio of the two scope axes defined by axisRatio selector.