MarXIndia
04-27-2009, 08:12 AM
HI all does any body know why its showing an error when iam trying to assign a variable to the time unit flag for the bake command..
here is the command
bakeResults
-simulation true -t "0:10"
-sampleBy 1
-disableImplicitControl true
-preserveOutsideKeys true
-sparseAnimCurveBake false
-controlPoints true -shape true {"Box"};
and here is what i was trying to do
int $start = 1;
int $end = 25;
bakeResults
-simulation true -t "$start:$end"
-sampleBy 1
-disableImplicitControl true
-preserveOutsideKeys true
-sparseAnimCurveBake false
-controlPoints true -shape true {"Box"};
but its showing the following error
// Error: line 10: Invalid time unit: $start:$end //
can anybody help me
thanx
here is the command
bakeResults
-simulation true -t "0:10"
-sampleBy 1
-disableImplicitControl true
-preserveOutsideKeys true
-sparseAnimCurveBake false
-controlPoints true -shape true {"Box"};
and here is what i was trying to do
int $start = 1;
int $end = 25;
bakeResults
-simulation true -t "$start:$end"
-sampleBy 1
-disableImplicitControl true
-preserveOutsideKeys true
-sparseAnimCurveBake false
-controlPoints true -shape true {"Box"};
but its showing the following error
// Error: line 10: Invalid time unit: $start:$end //
can anybody help me
thanx
