Skip to main content
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]” "

3 replies

  • Author
  • 2 replies
  • June 8, 2023


  • Author
  • 2 replies
  • June 8, 2023


Quark_Sb
  • 1 reply
  • September 15, 2023

the first command should be “M” which meas moveTo


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings