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
    • Recent
    • Tags
    • Users
    • Login

    Delete Layer in Layerbrowser

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 254 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 23/03/2011 at 17:01, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R12 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello,

      With CallCommand(100004738); i create a layer, but how do I delete that layer? Or objects/tags?

      ->I think, that CallCommand is not really good....is there also an other function for creating one?

      BTW: Why the hell is HUD private?

      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 24/03/2011 at 08:01, xxxxxxxx wrote:

        Howdy,

        Well, the LayerObject class has both Alloc() and Free() functions:

        class LayerObject : public BaseList2D
        {
        public:
          LayerObject* GetNext(void);
          LayerObject* GetPred(void);
          LayerObject* GetDown(void);
          LayerObject* GetUp(void);
          LayerObject* GetDownLast(void);

        static LayerObject* Alloc(void);
          static void Free(LayerObject*& v);

        };

        Adios,
        Cactus Dan

        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 24/03/2011 at 10:18, xxxxxxxx wrote:

          Hello Cactus Dan,

          Thank you. I must be blind...🤢

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