[Ipe-discuss] How to delete an object with an ipelet?

elwood151 elwood151 at web.de
Tue Nov 29 10:53:30 CET 2011


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.



More information about the Ipe-discuss mailing list