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:
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