Skip to main content
Jun 8, 2023 2:29 AM UTC
Question

Vector Path api does not support "C" and "Q" in svg path data

I created a vector using the figma plugin api accoding to the api docmentation and refered to “the subset of the SVG path format part”. But got the error message of “in set_vectorPaths: Failed to convert path. C is not a valid first command
at VectorNode.set_vectorPaths [as vectorPaths]” and "“in set_vectorPaths: Failed to convert path. Q is not a valid first command
at VectorNode.set_vectorPaths [as vectorPaths]” "

This topic has been closed for replies.

3 replies

RenYiAuthor
Jun 8, 2023 2:30 AM UTC

RenYiAuthor
Jun 8, 2023 2:30 AM UTC

Quark_Sb
Sep 15, 2023 1:49 PM UTC

the first command should be “M” which meas moveTo