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

    ScriptLog problems

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 390 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 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.

      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 25/11/2007 at 20:04, xxxxxxxx wrote:

        Something like this:

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

        ???

        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 26/11/2007 at 00:02, xxxxxxxx wrote:

          You have to use SendModelingCommand().

          cheers,
          Matthias

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

            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 26/11/2007 at 02:48, xxxxxxxx wrote:

              use a loop for multiple objects. that easy.

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