Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Delete method

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 262 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post