ERROR : Object not a collection

    'ERROR : Object not a collection - [line 1]

Possible Cause

The return value may be an empty collection that is invalid. You may also be incorrectly assuming that the returned item is a collection, not an object.

Suggested Solution

You can test for invalid collections: see Making Sure Returned Values are Valid. For more information about empty collections, see Empty Collections.

Autodesk Softimage v7.5