1
Automation Interface, Add-Ins and Tools / Shape Script and Tag Values
« on: July 31, 2014, 07:24:46 pm »
Hi,
I want to create a shape script that has a number of inner rectangles that aim to look like bar charts.
----------------- 100%
------------ 50%
--- 20%
It's easy to draw them. What I would like to be able to do it have the values driven from a tag value so that changing the tag value will alter the size of the bar.
I can read the value as "#TAGS:BAR1#" but when I use that as a variable to change the size of the bar the shape vanishes (possibly due to the type being non-numeric??).
Any idea how I can do this? Pint for the best answer.
Cheers,
Jez
I want to create a shape script that has a number of inner rectangles that aim to look like bar charts.
----------------- 100%
------------ 50%
--- 20%
It's easy to draw them. What I would like to be able to do it have the values driven from a tag value so that changing the tag value will alter the size of the bar.
I can read the value as "#TAGS:BAR1#" but when I use that as a variable to change the size of the bar the shape vanishes (possibly due to the type being non-numeric??).
Any idea how I can do this? Pint for the best answer.
Cheers,
Jez