Remove Object from Document? - Dimensions



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/05/2004 at 00:02, xxxxxxxx wrote:

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

    ---------
    Hi,
    here's another interesting Question :-)
    How can I remove an Object from a Scene in C++ SDK ???
    I've been looking for a command but didn't find. Furthermore I'd like to change the initial dimensions of an Object when creating it. How can this be done?!?
    Thank you!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/05/2004 at 04:16, xxxxxxxx wrote:

    Hi,
    did you have a look at any of the SDK example files. There are tons of examples showing how to change any predefined parameters of parametric objects. You should definetly do so.
    And removing an object is done via...Tata: Remove() :-) You will need to free the object afterward though yourself.
    Example:
    op->Remove();
    BaseObject::Free(op);
    Samir



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/05/2004 at 07:20, xxxxxxxx wrote:

    Hi,
    actually I tried Remove() but unfortunately forgot to add EventAdd(FORCEREDRAW); so I couldn't see the changes.
    Thank you anyway, finally somebody has to fill this archive with all the basic questions :-)
    Lawn


Log in to reply