Wow. Meetings: where minutes are taken and hours are wastedā¦ heh.
Now, going back to Philās suggestion about using a script module:
Hereās a script set you can use to construct and inspect strokes:
stroke_2017-08-01_0533.proj (1.9 KB)
Letās say you import this into a project. The scripts will be called project.stroke.construct() and project.stroke.inspect()
project.stroke.construct([lineWidth, [cap, join, [miterLimit, [dashPatern, dashPhase]]]])
This will check the number of arguments given and act according to the BasicStroke docs.
A note about dashPattern: This must be a string representation of a tuple. Example: ā(5,5,15,5)ā with quotes.
To use this with runScript(), an example may look something like:
switch(toInt({Root Container.CheckBox.selected}),
0,1,
runScript("project.stroke.construct()"),
runscript("project.stroke.construct",0,3,0,0,10,'(5,5)',0),
runScript("project.stroke.construct()")
)
If you look at the second runScript instance, you see thereās an extra argument. This is because runScript uses the first argument for polling, if needed, followed by the arguments for the stroke style.
A lot of information coming in a relatively short time, but the possibilities are there!
EDIT re-uploaded files
Regards,