algorithmic modeling for Rhino
Dear all,
I have a data component with n path and I'd like to export eact path in a separate file.
For one file I usually use this C# code:
private void RunScript(string file, string data, bool append, bool enable, ref object A)
{
if (!enable)
return;
if (data == null)
return;
if (append)
System.IO.File.AppendAllText(file, data + Environment.NewLine);
else
System.IO.File.WriteAllText(file, data);
}
What I can do for having multiple files?
Thank you
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by