Delete Layer in Layerbrowser

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?

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

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...🤢