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

    launch cinema command (callCommand) ids ?

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 402 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 17/10/2008 at 06:54, xxxxxxxx wrote:

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

      ---------
      Hi,

      this has probably been asked before, but i couldnt quite find the exact info i need...

      I want to make a button that launches the cinema optimize function.

      I dont want to do it via senmodellingcommand, i want the optimize dialog to show up, just as if the user selected it from the menu.

      Im not sure which function to use, setAction or CallCommand, and where i find the neccessary ids.

      setAction seems to be for modellingcommads only and i can find its valid id's in ModelingIds.h

      But where do i find the id's for CallCommand ?
      And is this trghe same as selecting a command from teh menu ?

      Also, could it be that CallCommand is not available before R10 ?

      thanks,
      Daniel

      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 17/10/2008 at 09:01, xxxxxxxx wrote:

        Howdy,

        Just open up the Command Manager and select the Optimize command. In the bottom section of the Command Manager dialog you'll see the ID number. ;o)

        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 17/10/2008 at 09:26, xxxxxxxx wrote:

          thanks thats good to know.

          btw, it seems that you can also drag icons into the box below the console, when you're in edit palette mode..

          Problem is though, it seems CallCommand can only be used in R10+ and im trying to stay compatible with R9..

          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 17/10/2008 at 09:41, xxxxxxxx wrote:

            Howdy,

            Actually, no. CallCommand() is available in R9. I'm using it in my plugins which I'm keeping compatible from R9.1 and up. It may not be available in R9.0, I'm not sure about that, but it is available in R9.1, which was a free point update and I believe it's still available from Maxon's site. ;o)

            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 17/10/2008 at 09:53, xxxxxxxx wrote:

              thanks dan, i'll check it out.

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