View Full Version : cacheFile problem
craigs 09-29-2007, 12:26 PM when Im doing a cacheFile on a number of geometrys it only seems to writing out one cahce for one peice of geo, heres the command im using, can anyone help?
$bakeShapes = `listRelatives -s $bakeSetGeo`;
cacheFile -dir "C:/bake" -f "test" -st 1 -et 24 -points $bakeShapes;
|
|
strarup
10-24-2007, 10:49 AM
Hi,
I'm not sure if this is the problem... however it only seems like you are asking for 1 object only... I might be wrong... but if that's the case this might help...
proc doDaBakeShapeThingie()
{
string $bakeSetGeo[]=`ls -sl -l`;
string $bakeShapes[];
for($i=0; size()<$i; $i++)
{
$bakeShapes = `listRelatives -s $bakeSetGeo[$i]`;
cacheFile -dir "C:/bake" -f "test" -st 1 -et 24 -points $bakeShapes;
}
}
doDaBakeShapeThingie;
hope it helps... :)
regards
Strarup
CGTalk Moderation
10-24-2007, 10:49 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.