THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/04/2010 at 10:45, xxxxxxxx wrote:
Hi,
I'm still having that problem. I'm pretty new to programming especially for C4D but I'm trying;)
What I`ve done so far to get the path:
BaseContainer allTexturePaths = doc->GetAllTextures();
BrowseContainer bc(&allTexturePaths);
LONG id;
GeData *dat;
while (bc.GetNext(&id, &dat))
{
temp=fn.GetFileString().GetCStringCopy();
}
that just gives me the filenames for the textures not the whole path.
I also tried with temp=fn.GetDirectory().GetString().GetCStringCopy(); which also didn't work
I also can access the filename but not the path with:
GetData().GetString(BASECHANNEL_TEXTURE)
I'm sorry if this is a stupid question but I'm really struggling here and would appreciate it if someone could help out.
Thanks:)