Inititialize values of NodeData

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

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/03/2009 at 03:11, xxxxxxxx wrote:

hi, any advices?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/03/2009 at 03:47, xxxxxxxx wrote:

How do you get the type in C++? Do you use your own resource loader? If so does it only not work with your own resource laoder? In general I need more clues what is going on, the Python stuff does not tell me much.

cheers,
Matthias