Closed GoogleCodeExporter closed 9 years ago
Same behaviour for current development revision 2620
Original comment by schnfx...@googlemail.com
on 15 Mar 2012 at 1:10
Hello,
The function is working properly. I have dowloaded the file
ExportPhotonMap.tnhs and I have followed your steps. Firstly, the function
seems to be doing nothing but then, I realised that you have two mistakes on
your file which are:
1) The node path is not correct because you have written TShapeKit instead of TShapeKit1 which is the correct name of the node.
2) The route of the destination folder is wrong too. You have to delete the first slash you are adding before tmp. Due to the fact that you are using partial directories, you must check what is the default directory Tonatiuh is using. In my case, when I run Tonatiuh trough Eclipse, I have the following path:: C:/sde/workspace/TonatiuhProject/
So, in my case, I have to create a folder called tmp in this directory.
My destination folder will be C:/sde/workspace/TonatiuhProject/tmp
To avoid that problem, It's better you write the full destination path.
Something like this: C:/sde/workspace/TonatiuhProject/tmp/PhotonMap.dat
Now, I can run the function and the file is saved where I wanted. The attached
function works fine. You only have to change my destination folder path with
yours.
Original comment by sergio.g...@gmail.com
on 16 Mar 2012 at 10:07
Attachments:
Sergio,
thanks for your response. I apologize for the mistake with "TShapeKit" instead
of "TShapeKit1". With regard to the path, since I am on Linux,
"/tmp/PhotonMap.dat" is a valid absolute path. I tried the ExportPhotonMap
command with the path unchanged and it works.
Best regards,
Felix
Original comment by schnfx...@googlemail.com
on 16 Mar 2012 at 12:37
Original issue reported on code.google.com by
schnfx...@googlemail.com
on 15 Mar 2012 at 8:44Attachments: