Plugin-Tags in R8???
-
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? -
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);
} -
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 -
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 -
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.