Solved
This topic has been closed for replies.
Let’s start in order:
figma.comThe argument to this method must be collection.id, not collection.key.
So, you need to follow the following logic:
- Get a
LibraryVariableCollection; - Get a
LibraryVariable; - Import this
LibraryVariablebykey; - Get a
variableCollectionIdin importedVariable; - Get a
VariableCollectionbyid.
After completing the fifth step, you will have a VariableCollection object, which you must use in the setExplicitVariableModeForCollection method.
Collection modes will be available in the following path: VariableCollection.modes.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
