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

    Plugin-Tags in R8???

    SDK Help
    0
    5
    607
    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 21/03/2003 at 16:46, xxxxxxxx wrote:

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

      ---------
      Hey peeps,
      just wanted to use my old R7 plugin-tags in R8.
      Plugins are written in COFFEE.
      The tags seem to be not available in R8.
      I have R8.1
      What's the problem?

      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 21/03/2003 at 17:15, xxxxxxxx wrote:

        used this code for testing purposes:
         
        const var MYtag_ID = 1011203;
        var mytag_icon;
         
        class Mytag : ExpressionPluginTag
        {
        public:
          Mytag();
         
          GetID();
          GetIcon();
          Edit();
          GetName();
          Execute(doc, op);
          GetHelpText();
         
          MultipleAllowed();
          DisplayAllowed();
          UseMenu();
        }

        Mytag::Mytag() { println("Mytag"); super(); }
        Mytag::GetID() { println("GetID"); return MYtag_ID; }
        Mytag::Edit() { println("Edit"); return TRUE; }
        Mytag::GetName() { println("GetName"); return "My tag"; }
        Mytag::Execute(doc, op) { println("Execute: ", time()); return TRUE; }
        Mytag::GetHelpText() { println("GetHelpText"); return "My tag"; }
        Mytag::MultipleAllowed()   { println("MultipleAllowed"); return TRUE; }
        Mytag::DisplayAllowed()    { println("DisplayAllowed"); return TRUE; }
        Mytag::GetIcon() { println("GetIcon()"); return mytag_icon; }
        Mytag::UseMenu() { println("UseMenu"); return TRUE; }

        main()
        {
          mytag_icon = new(BaseBitmap, 22,22);
          mytag_icon->SetPen(vector(0.2, 0.3, 0.7));
          mytag_icon->DrawRect(0,0,22,22);
          println("main");
          Register(Mytag);
        }

        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 22/03/2003 at 06:31, xxxxxxxx wrote:

          Actually the plugin-tag works.
          But the effect of the plugin is not shown when rendering.
          Why?
          Hope Mikael or someone else finds the time to answer my questions.. 😉
          Helge Mathee

          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 22/03/2003 at 07:30, xxxxxxxx wrote:

            http://www.mindthink.de/helge/spliner.zip
            This is the plug with a sample scene.
            regards, Helge Mathee

            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 23/03/2003 at 09:59, xxxxxxxx wrote:

              Paul Everett solved my problems:
              The content ofone of his mails:
              no , you must get the render time document
              never use the GetActiveDocument()
               
              this is not the same as the render ducument
               
               
              also use basecontainers to store any and all data.
              this is then  passed automatically to renderer
               
              remember , when you  render anything , the document is cloned.
              so you ned to be sure your code is capable of passing cloned data.

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