Skip to main content
Question

getStyleConsumersAsync


Robby_Marston

Hi,

I’m using the plugin API to develop a plugin that shows me which nodes are using my local color styles. The getLocalPaintStylesAsync method works to retrieve the styles. Normally, I would use the consumers property in that response to see the consumers; however, that’s been deprecated. When I attempt to use the getStyleConsumersAsync method instead, it never seems to resolve. It either hangs indefinitely or freezes the app. That said, is there any way I could retrieve a list of consumers of one style at a time? Or perhaps some other approach that actually works?

 

Thanks in advance! 

0 replies

Be the first to reply!

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