DWilliames / google-sheets-sync-figma

82 stars 8 forks source link

Get layer names from Sheet #131

Open smalonso opened 1 year ago

smalonso commented 1 year ago

Problem I have to change in bulk 850 images that we have uploaded in a CMS and the only way to be able to re-import the images correctly is to have the same reference name as the previous image or page ID.

Solution It would be nice to have an option to get this value from a Sheet also.

The solution I propose is to use a special nomenclature for naming layers to differentiate them from the #column_name of the content. It could be this structure ^#column_name. In order not to lose the reference, I would not replace the name of the reference and append the name obtained from Google Sheets at the end of the word (e.g. ^#column_name - 68758398`). With this name, I can now use the native layer renaming tool to clean up the initial reference of each layer name.

Describe alternatives you've considered I've tried plugins like Rename it, Renamed, and Clean Document, but any of them can rename the layers from a Sheet.

Additional context Example of the idea

image
ganar commented 1 year ago

I had a problem that may be a bit like yours:

Solution