This MEL analyzes the current scene, Simulation Caches and Simulation Cache Layout files and returns which ones are contaminated by a PLE license. It takes advantage of the glmCheckLicense command.

void glmGetSceneLicenseCheck()

Return Value

The command displays the status of each file in the Script Editor. If a flag is stated PLE, it means it has been contaminated by a PLE license else it's stated as FULL

Mel Example

// Result:

- FULL - Current Maya Scene

- FULL - N:/demos/cache/demoScene.crowdField1.gscs

- PLE - N:/demos/cache/layout.gscl