|
|
On 3/21/2016 8:19 PM, Dedus wrote:
> "somemesh_xx" is a string and I want to generate 60 different objects from 60
> different STL-files by using a loop with the variable "xx".
> So I would like avoid writing somemesh_01 , somemesh_02 , ... , somemesh_60
> and to be able to change the attribute of all by only changing one variable.
You might want to think of using concat in a loop. Below is code to
include a file "Chain02G2Y_XX.pov" where XX depends on the frame number.
#include
concat("f:\\Graphics\\Data\\Chain02G2Y_",str(mod(frame_number,89),-4,0),".pov")
--
Regards
Stephen
Post a reply to this message
|
|