Any chance you could provide correct syntax or usage for this function? (or link to documentation, can't find in docs in AI scripting folder)
Do I need to #Include any special suite or anything? (I'm a total newb to jsx although some experience with JS in other contexts)
Is this for straight paths or curved also? One segment length or many?
Thanks in advance for any advice
JSX? If you're doing this via scripting, you may want to try the forum over here:
This forum is for the C/C++ SDK
As for what GetPathLength() returns, it returns the length of path, not individual segments, and yes it works for both flat & curved (bezier) paths.
Thanks I realised after I posted this hit had come from SDK (even though I was searching Scripting folder!). Thanks.
In JS the pathObjectCalledThis.length property worked effortlessly, even on curves and multi-segment lines.
Europe, Middle East and Africa