Skip to main content
Participant
October 27, 2017
Answered

pointOnPath method always return an error

  • October 27, 2017
  • 1 reply
  • 990 views

I am a beginner with expression and each time I try to use "pointOnPath" method I receive an error saying that pointOnPath is undefined or is not a function.

Here is an example:

Thanks for your help

This topic has been closed for replies.
Correct answer UQg

The first line of the expression is ok.

You can replace the second line by :

pathProperty = // pickwhip a path property (not a TrimPaths)

pathProperty.pointOnPath(a);

It will work only if trimPath is applied to a single (custom) path.

1 reply

UQg
UQgCorrect answer
Legend
October 27, 2017

The first line of the expression is ok.

You can replace the second line by :

pathProperty = // pickwhip a path property (not a TrimPaths)

pathProperty.pointOnPath(a);

It will work only if trimPath is applied to a single (custom) path.