THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/03/2009 at 01:42, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform:
Language(s) : C++ ;
---------
Hi!
The implementation of Res Files is done. I made some examples. I found out that the type of an element is None, even its set correct in the res Folder.
example:
> \> REAL test { UNIT METER; MIN 0.0; } \>
and test = 1002
> \> def init(self, op) : \> print op.get_data_instance()[1002] #via get_data_instance \> print op[1002] #via getparameter \> return True \>
both returns "None".
1. Do I have to initialize them with the correct type?
2. If I have to, can I initialize them with SetParameter, too?
Thanks