Your Ad Here

Go to: Synopsis. Return value. MEL examples.

Synopsis

clear <array>

clear is undoable, queryable, and editable.

Frees the memory being used by an array after it is no longer needed.
After an array is cleared, its size will be zero.

Return value


None

MEL examples

$list=`ls -shapes`;
// Result: nurbConeShape1 nurbCylinderShape1 nurbSphereShape1 //
print (`size $list`+"\n");
// 3
clear $list;
// Result: 0 //
print (`size $list`+"\n");
// 0
  

Return to Autodesk Index


Your Ad Here