• Welcome to World Machine Community. Please login or sign up.
 
September 23, 2019, 05:31:24 am

News:

Read the Development Diary for an inside look at World Machine's progress!


relative path problem

Started by dagri, September 02, 2010, 08:07:24 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dagri

Hello,


  • D:/


    • WMProjects/


      • ReportProject/


        • ReportProject.tmd


      • CommonData






I made a project path like the above.

and I add File Input Device.
I want to set value of File Details "..\CommonData\input.bt".
but It set "D:\WMProjects\CommonData\input.bt".

nikita

Works fine for me. Did you uncheck "Use absolute path for file name" and are you working in a project that has been saved at least once?
"Every time you read or write beyond the end of an array, somewhere a fairy dies."
Richard Buckland

dagri

I unchecked "Use absolute path for file name". and I saved.

Following is my computer spec.

OS : windows 7 Professional Korean 64bit
WM version : 2.2 Professional Edition SITE LICENSE

CPU : Intel Core 2 Quad Cpu [email protected]
rem : 4GB
remain HDD : 11GB
Graphic : NVIDIA Geforce GTS 250





If my project path is following. It works well. The File Details value set "CommonData\input.bt".

  • D:/


    • WMProjects/


      • ReportProject/





nikita

September 06, 2010, 03:54:31 am #3 Last Edit: September 06, 2010, 04:03:20 am by nikita
Looks like relative paths don't work when files are in another folder. I.e. folders that are outside the folder the tmd is in.
Thanks for reporting this!


Have you tried setting "Default Relative File Path" in the Project Settings to your ReportProject folder? That should do the trick.
"Every time you read or write beyond the end of an array, somewhere a fairy dies."
Richard Buckland

dagri

September 06, 2010, 06:35:11 pm #4 Last Edit: September 06, 2010, 07:39:34 pm by dagri
Thank you, It works well I want.

but Tiled File Input problem don't resolve. http://forum.world-machine.com/index.php?topic=1242.0

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview