> From: Jerome Alet [mailto:alet@unice.fr] > what you need is: > > if imID not in self.objectIds() : > # doesn't exist > else: > # already exists If I had had half a brain I would have known it myself ... Guess i'm tired :-) Thanks. regards Max M