ScriptLog problems



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

    On 25/11/2007 at 19:57, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   10.5 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi.

    C4D "ScriptLog" displays the commands of tool activation:

    > CallCommand(200000065); // "SetPointValue" activation

    displays the commands of tool options:

    > tool()#MDATA_SETVALUE_SETX=0; // SetPointValue.X = Leave
    > tool()#MDATA_SETVALUE_SETY=2; // SetPointValue.Y = Center
    > tool()#MDATA_SETVALUE_SETZ=0; // SetPointValue.Z = Leave
    > ...

    but not displays the call of tools (clicks on the "Apply", "NewTransform", "ResetValues" buttons).

    How with the aid of COFFEE to apply current tool (programmatically click "Apply")?

    Thanks.



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

    On 25/11/2007 at 20:04, xxxxxxxx wrote:

    Something like this:

    > doc- >GetActiveTool()->Apply();

    ???



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

    On 26/11/2007 at 00:02, xxxxxxxx wrote:

    You have to use SendModelingCommand().

    cheers,
    Matthias



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

    On 26/11/2007 at 01:57, xxxxxxxx wrote:

    Of course, but this option was not suitable, because SendModelingCommand() works only with one object.
    Call SendModelingCommand() in the loop also was not suitable,
    because i need to process multiple objects at once (align points with "SetPointValue", for example).



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

    On 26/11/2007 at 02:48, xxxxxxxx wrote:

    use a loop for multiple objects. that easy.


Log in to reply