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

    execution priority

    SDK Help
    0
    2
    316
    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
      Helper
      last edited by

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

      On 19/06/2003 at 08:51, xxxxxxxx wrote:

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

      ---------
      Hi,

      I coded a couple of expressions that depend on each other. So I want to set the priority of executions. By now, I've done this using "AddToExecution(PluginTag* tag, PriorityList* list)". But this solutions prevents the user from manually change the priority. I only want to set default values and keep the possibility to change them by the user.
      I also tried simply set the value to the BaseContainer inside the ::Init() function:

      bc->SetLong(EXPRESSION_PRIORITY, 3001)

      But this has no effect. How can I do it?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

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

        On 24/06/2003 at 13:37, xxxxxxxx wrote:

        Have a look at the LookAtCamera.cpp example and add the following line to the Init() function:

            
            
            if (pd) pd->SetPriorityValue(PRIORITYVALUE_PRIORITY, 3001);
        

        (The priority isn't a LONG, it's a CUSTOMGUI_PRIORITY_DATA/PriorityData.)

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