Hi,
I want to use the formula to set the shape.fill property depending on a named shape on my drawing.
The goal is to quickly modify the fill of many elements in the drawing by defining a new color to an item with the name "alpha",
My idea was to do this ...
var shapeDefinition = $.shape('alpha');
if(shapeDefinition != null )
{
this.fill = shapeDefinition.fill;
}
else
{
this.fill = 0;
}
But that is not saveable in the formula field. There is neither an error message nor a status message.
Hi,
I want to use the formula to set the shape.fill property depending on a named shape on my drawing.
The goal is to quickly modify the fill of many elements in the drawing by defining a new color to an item with the name "alpha",
My idea was to do this ...
````
var shapeDefinition = $.shape('alpha');
if(shapeDefinition != null )
{
this.fill = shapeDefinition.fill;
}
else
{
this.fill = 0;
}
````
But that is not saveable in the formula field. There is neither an error message nor a status message.