THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/09/2012 at 16:42, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13
Platform: OS X ;
Language(s) : Python ;
---------
Considering how simple it is to add user data within the C4D gui, you'd think the same would be true of making a plug-in, but after staring at these three files for several hours now and plowing through two dozen forum posts, I'm quite frustrated.
I'm also puzzled that Python object plug-ins use C++ to setup their GUI instead of relying on a Python based GUI within the plug-in itself.
I've heard there's some great examples of how to do this in the C++ SDK, but the navigation on that page is ridiculously unhelpful (I type ".res" into the search panel and get zero results).
So here's my .res file, and the accompanying errors. I don't even know what the first one is even referring to. The second one seems to be some sort of formatting error, and since I don't know C++, I'm not able to interpret it. Everything seems to be formatted exactly like all the other example plug-ins I've looked at, so I'm not sure what's wrong with this one.
I should note that every time I make a modification to the code, I will delete the symbolcache file at:
User --> Library --> Preferences --> MAXON --> C4DR13... --> Prefs
Any help would be greatly appreciated.
Here is an image of the code with correct spacing, etc if needed:
http://www.lukeletellier.com/wp-content/uploads/downloads/2012/09/res-code.png
CONTAINER genome
{
NAME genome;
INCLUDE Obase;
GROUP ID_MAIN
{
REAL P1 { UNIT METER; }
REAL P2 { UNIT METER; }
REAL P3 { UNIT METER; }
REAL CHAMFER { UNIT METER; MIN 0.0;}
}
}
Symbol 'genome' not found
File '/Applications/MAXON/CINEMA 4D R13/plugins/genome/res/description/genome.res'
Line 3
Error reading resource
file '/Applications/MAXON/CINEMA 4D R13/plugins/genome/res/description/genome.res'
Line 7
--
--
Many thanks,
Luke