Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

Path seperations possible?!

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>