script (MEL) |
Only available in
MEL |
lsType
|
In categories: General |
Go to: Synopsis. Return value. MEL
examples.
string[] lsType( string $type
)
Return object names of the given type. The end of the return array
is marked with the special string "<done>" for two reasons.
There is no way to return an empty array, and the array values are
not cleared from call to call. This means that values from a
previous call will be returned on the next call.
None
Variable Name |
Variable Type |
Description |
$type |
string |
Type of object to look for |
sphere -n sphere1;
sphere -n sphere2;
lsType("nurbsSurface");
// Result: sphere1Shape sphere2Shape //