THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/11/2009 at 05:46, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10/11
Platform: Windows ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;
---------
Hi,
some time ago, I published the Vray Proxy Creator, which worked quite well. But suddenly, the plugin does not register anymore and throws an error instead:
// 1. Create MeshExporter Tag
var ExpTag = AllocTag(VRAY_EXPORTERTAG_ID); // Create Vray MeshExporter Tag
doc->AddUndo(UNDO_TAG_NEW, ExpTag); // Add Undo
op->InsertTag(ExpTag); // Attach tag to original object
// 2. Create VrayProxy object
var PrxObj = AllocObject(VRAY_PROXYOBJECT_ID); // Create VrayProxy object
PrxObj#VRAYPROXY_LINK = ExpTag; // Link tag into object
The message in the C4D console points out a syntax error in the last line of the above shown code. Why? It always worked, what has happened?
Thanks for any tipps!
Edit: The complete source code is shown and also available for download in the german C4D Wiki: http://wiki.c4d-jack.de/wiki/VrayProxy_Creator_(Coffee-Plugin)
Greetings,
Jack