THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/02/2008 at 03:45, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R10
Platform: Windows ;
Language(s) : C++ ;
---------
Hi
i started writing a little plugin to Read Values out of a textfile to an RealArray. It's a command plugin that looks like this:
> Filename fn;
> BaseFile *bf = BaseFile::Alloc();
>
> if(!fn.FileSelect(FSTYPE_ANYTHING,0,NULL))
> {
>
>> MessageDialog("Data Import Cancelled");
> return FALSE;
>
> }
>
> if(bf->Open(fn, GE_READ))
>
>> MessageDialog("Data Import OK");
Now i want to read the values stored in the selected file to an Realarray or an Vectorarray for example. Does anybody know how to do this?
I tried:
> bf->ReadReal(*v);
but i don't know which variable i have to set for *v...
Hope someone knows....