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 28/03/2005 at 20:47, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.503 Platform: Windows ; Mac ; Mac OSX ; Language(s) : C++ ;
--------- All that I need to do is get the file string for a Sound file from a Sound Sequence properties, but I'm getting "" as the result for a real name ("martian.wav" for testing). Here's the code:
BaseContainer* data = seq->GetDataInstance(); String lvl = String(""); // Write Sound Properties (if applicable) if (soundTrack) { str = lvl+" SOUND "; str += (data->GetBool(ID_SOUND_ONOFF))?"ON ":"OFF "; str += """+data->GetString(ID_SOUND_NAME)+"""; if (!WriteLine(str)) return FALSE; }
What am I doing wrong? ID_SOUND_NAME is a STRING in the SEsound.res file. There doesn't appear any other way to get to it (e.g.: using a method).
Thanks,
On 28/03/2005 at 21:33, xxxxxxxx wrote:
N'er Mind.
Retrieved it with Atom::GetParameter().
On 29/03/2005 at 08:05, xxxxxxxx wrote:
I love people finding their own solutions and bugs. ;-D