Script
|
Map paths from one format to another. More...
#include <filemapperinterface.h>
Public Slots | |
String | toNativePath (String &path) |
returns the complete path of the passed path resolving shortcuts in windows. Will also convert the path separator to '\'. More... | |
String | toScenePath (String &path) |
converts a path of the form /USA_DB/jobs/<job>/scene-<scene>/<remainder...> to eg. /usadata000/<job>/scene-<scene>/<remainder...> More... | |
Map paths from one format to another.
You can use it in Script Editor only.
|
slot |
returns the complete path of the passed path resolving shortcuts in windows. Will also convert the path separator to '\'.
path | : path on Windows |
|
slot |
converts a path of the form /USA_DB/jobs/<job>/scene-<scene>/<remainder...> to eg. /usadata000/<job>/scene-<scene>/<remainder...>
path | : path to convert |
If working offline (no database) this function will return the input path.
In database mode if the path is not of the form /USA_DB/jobs/<job>/scene-<scene>/<remainder...> this function will return the input path.
In database mode if the scene cannot be located in the database this function will return the input path.