POV-Ray : Newsgroups : povray.general : Convert string identifier to object name : Re: Convert string identifier to object name Server Time
30 Jul 2024 04:24:17 EDT (-0400)
  Re: Convert string identifier to object name  
From: clipka
Date: 2 Nov 2009 08:15:36
Message: <4aeedb78$1@news.povray.org>
Thomas de Groot schrieb:

> Perfect Chris! It works. I just  changed my code line to:
> 
> #local ObjName = Parse_String(concat("object {",PoserName,"}"))
> 
> and used that for further work in the scene.
> 
> Thomas
> 
> PS I shall have to look into strings.inc to discover what more is hidden 
> there :-)  Fact is that I do not know *everything* that POV-Ray offers....

Fun facts to know:

The Parse_String macro actually "inlines" the string by writing it to a 
temporary file, which it then includes.


Post a reply to this message

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