Path seperations possible?!
I can't get my head around it. Somehow every "filename" i tested comes up with a full path to a file.
I would love to have a seperation like "Main Path to THE desired Library" (i got 4 of them) This works by using:
App.getContentMgr().getNumContentDirectories();
Which gives in my case 4 separated content libraries, when used.
I like to realize this too for lets say a number of folders to a specific file: filename.file_extention
So that i get: Folder1/Folder2/Folder3 ...where the file would be found
And then of course "the separate file" as the file name: filename.file_extention
The goal is to select later on an object in the scene, use the script and let it tell us different informations about the objects in parts, like where it is, what textures are used and so on.
Comments
You'd want relative paths for that, whch you can get from the Content Manager http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/contentmgr_dz#a_1affbf699c9e0fed098fa6a752e67c02f1
Great, thanks