Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/10/2009 at 12:40, xxxxxxxx wrote:
User Information: Cinema 4D Version: 11.5 Platform: Language(s) : C++ ;
--------- Hi!
Can anyone check out this code?
> <code> > >> `
\> BaseContainer bc; \> bc.SetReal(1, (Real)5.0); \> bc.SetLong(1, (LONG)3); \> if(bc.GetType(1)==DA_REAL) \> GePrint("hmm??"); \>
` > > </code>
Can anyone confirm? In my opinion it should be DA_LONG.
Thanks! Cheers, Sebastian
On 26/10/2009 at 02:39, xxxxxxxx wrote:
Confirmed in R10 and R11.5. And yes, I would also have thought it should be DA_LONG.
On 26/10/2009 at 02:59, xxxxxxxx wrote:
Also in GeData.
On 26/10/2009 at 03:31, xxxxxxxx wrote:
It's not allowed to change the type of a container value.
From the docu: Once you've set a container value using one type you must neither try to access it using another type, nor overwrite it with a value of another type! Using the wrong access will not crash, but it is illegal.
cheers, Matthias
On 26/10/2009 at 04:28, xxxxxxxx wrote:
Yes, reading the docu might help. Thanks Matthias!