assetsSortRatio function

Syntax

  • string assetsSortRatio(string fileList, axisSelectorRatio)

Parameters

  1. fileList
    String list with geometry files, separated with ";" (also after the last entry).
  2. axisSelectorRatiokeyword
    { xy | xz | yz | xyz }— selector which defines which scope axes ratio is used as a reference.

Returns

A string list with all files in the input fileList, sorted in order how good they match the reference ratio (first is best, last is worst).

Description

The assetsSortRatio function looks at all geometry files in the input fileList and sorts them depending on their ratio relative to the ratio of the two scope axes defined by axisSelectorRatio.

Related


In this topic