Has anyone experimented with using javascript to write parametric tools to run within UE? A simple example follows:
Current File: file01
Red,55
blue,3,text
yellow,100
Suppose I would like to generate 100 files based on this file but with the numbers being randomly generated within user specified ranges... e.g.
Script generated: file02
Red,6
blue,36,text
yellow,64
In practice the file would be large (e.g. 60+Mb), with 10-50 variables and I would like to embed the parametric variables at different positions in lines based on a master file e.g.
Master File: file
Red,$a
blue,$b,text
yellow,$c
With a scripted interface to let me define ranges for these variables. The files in question are column formated rather than CSV, but I assume that is not too much of a problem...
My questions are: Is this possible within UE? Is there anything similar already out there (could also be called a DOE tool)? Anyone have some examples of the type of js code required to do this (I have no js experience, but I do have quite a bit of experience in other languages - fortran, php, etc.). Thanks.
Current File: file01
Red,55
blue,3,text
yellow,100
Suppose I would like to generate 100 files based on this file but with the numbers being randomly generated within user specified ranges... e.g.
Script generated: file02
Red,6
blue,36,text
yellow,64
In practice the file would be large (e.g. 60+Mb), with 10-50 variables and I would like to embed the parametric variables at different positions in lines based on a master file e.g.
Master File: file
Red,$a
blue,$b,text
yellow,$c
With a scripted interface to let me define ranges for these variables. The files in question are column formated rather than CSV, but I assume that is not too much of a problem...
My questions are: Is this possible within UE? Is there anything similar already out there (could also be called a DOE tool)? Anyone have some examples of the type of js code required to do this (I have no js experience, but I do have quite a bit of experience in other languages - fortran, php, etc.). Thanks.