Hi Everyone i have a simple script that generates a text file.
---------------------Text file--------------------------------
Dir1 = gp_mainPath
out_name = (fileName.text + ".txt")
out_file = createfile out_name
format "%-" ("D")to:out_file
format "%-" (print polyList.count/257)to:out_file
format "%" (Stonecount.text = RStyle2.text)to:out_file
---------------------Text file--------------------------------
i figured out how to generate the text name but cant set the directory to gp_mainPath
any help will be appreciated.
thanks
miauu · 2015-09-05