POV-Ray : Newsgroups : povray.newusers : Loops and strings : Re: Loops and strings Server Time
25 Apr 2024 08:26:38 EDT (-0400)
  Re: Loops and strings  
From: Christian Froeschlin
Date: 21 Mar 2016 16:37:04
Message: <56f05b70$1@news.povray.org>
On 21.03.2016 21:19, 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.

there is a Parse_String macro in strings.inc that should work for you.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.