Skip to main content
Solved

Is there a Plugin API method for setting scopes of a variable?


coeurl

Background

I am developing a Local Variables Exporter/Importer Plugin.

So, I am having trouble trying to set the scope of a variable in an import process.

Questions

  • Exporter
    • for CodeSyntax: variable.codeSyntax
    • for Scopes: variable.scopes
  • Importer
    • for CodeSyntax: variable.setVariableCodeSyntax()
    • for Scopes: ???

Is there a Plugin API method for setting scopes of a variable?

I could not find any members that looked like them on this page: Variable | Plugin API

I would appreciate your advice. Thanks.

Best answer by tank666

figma.com
View original
This topic has been closed for replies.

2 replies

tank666
  • 4873 replies
  • Answer
  • July 15, 2024

coeurl
  • Author
  • 2 replies
  • July 15, 2024

Wow, I was not aware of it.

Great thanks!


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