[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: destroying graphics objects





Brad Gom wrote:

> As an aside, did IDL 5.0 have a bug with the
> IDLgrModel->get(isa=object_class_name)  method? When I use this to return an
> object reference for something in a model, it returns the wrong object in IDL
> 5.0, but seems to work in version 5.3.
>

On closer examination of the Help file, I see that the ISA keyword is ignored if the ALL
keyword is not also set -which means that the get method will just return the first object it
finds. If it returned nothing, or gave an error, then I would have caught this sooner!