Go to: Synopsis. Notes. Return value. Keywords. MEL examples.

Synopsis

int convertFromOldLayers()

Convert the layers as implemented in version 1.0/1.5 to the new implementation in 2.0.

Notes

This conversion happens automatically whenever a 1.0/1.5 file is read into version 2.0 or later. This script is provided in case you have redefined a set as an old-style layer in version 2.0. In this case the conversion will not happen automatically and you should run this script to make it happen manually.

Return value

None

Keywords

displayLayer convert 1.5 1.0 layer set ,

Arguments

Variable Name Variable Type Description
This script takes no arguments

MEL examples

      int $numberConverted = convertFromOldLayers();
      // Result: 0 //