How to delete an object with an ipelet?

elwood151 <elwood151-S0/[email protected]>
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <[email protected]>
How can I delete an object with an ipelet?

I'm parsing all objects with a loop like 
local p=model:page()
  for i, obj, sel, layer in p:objects() do
...

and then want to delete some of them.

I tried p[i]:delete() but it does not work.

I've been searching in the Ipe library documentation
(http://ipe7.sourceforge.net/manual/index.html), but I could not find such a
method for objects.

Kind regards

Martin
-- 
View this message in context: http://old.nabble.com/How-to-delete-an-object-with-an-ipelet--tp32880293p32880293.html
Sent from the Ipe - General mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.