Delete method
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/07/2011 at 07:28, xxxxxxxx wrote:
How do I delete an object? Inside the document tree ?
And I have been looking through the C4D Python library, but I cant find anything like this there.
Is there something I need to understand about Python that could help me use the library better? I just end up using functions that I cant find in the libraries (obj.GetNext(), obj.GetDown()) and so on.
I would really liuke this to work.
def deleteObj(obj) :
> Delete(obj)
>
> print "I just deleted the object! YAY! -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/07/2011 at 07:34, xxxxxxxx wrote:
OK. Just made a fool of myself there.
obj.Remove()
And its gone.
Found answer here : http://www.thirdpartyplugins.com/python/modules/c4d/C4DAtom/GeListNode/index.html?highlight=getdown#GeListNode.Remove