collection.createSizeVariable(name, value)Create a Size variable with a name for the variable, and size value.
Once created, you can set size variables for:
name : string - Name of the variable
value:
{unit: SizeUnit, value: number}
SizeUnit See the accordion below for the list of supported units.
options: object - Optional parameters for the variable.
collection.getVariableModeByName() method.Promise<SizeVariable>
A Promise that resolves to a SizeVariable object