script (MEL) |
Only available in MEL |
convertFromOldLayers |
In categories: System, Files |
Go to: Synopsis. Notes. Return value. Keywords. MEL examples.
int convertFromOldLayers()
Convert the layers as implemented in version 1.0/1.5 to the new
implementation in 2.0.
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.
None
displayLayer convert 1.5 1.0 layer set ,
Arguments
Variable Name |
Variable Type |
Description |
| | This script takes no arguments
|
int $numberConverted = convertFromOldLayers();
// Result: 0 //