Hi all,
I'm trying to create a project startup ui which reads the folders from a directory, so I can access my xrefs,scenes, assets etc on a specific job. I'm starting with the main part of the script which would be to read the scene folders. Here is what I have so far:
paths = "C:\\V01_Bathroom"
dir_array = GetDirectories (paths+"\*")
for c = 1 to dir_array.count do (
tokens = filterString dir_array[c][1] "C:\\"
)
--tokens = filterString dir_array "C:\\"
print tokens
try(DestroyDialog Save_Lib)catch()
rollout Save_Lib "Project Manager" width:425 height:173
(
dropDownList ProjectList "Project" height:250 width:99 pos:[13,70] items:tokens
) createDialog Save_Lib
By johncrawshaw · 2012-12-03
br0t · 2012-12-04