It is possible to rotate a shape by a fixed value, pending a condition being true.
https://docs.dataminer.services/develop/devguide/Visio/miscellaneous/Basic_conditional_shape_manipulation_actions.html?q=rotate#action-overview
However I have a parameter that is a bearing, Range: 0-359.
I would like to just rotate my shape by the value of that parameter.
I have tried this shape data, so that if Param 68 is >0 it will rotate by the value of that parameter from the Tesla element but no success.
68|Rotate;>0,[param:Tesla,68]
I can get the shape to rotate by fixed values if I do something like this
68|Rotate;>0,135
Yes — for this use case, use the Range variant of the ROTATE action instead of trying to pass a [param:...] placeholder as the angle.
Configure the shape like this:
Element = Tesla Parameter = 68|ROTATE;range,0-359 Enabled = false
The documented rotating button setup says to link the shape to the element and parameter, then specify ROTATE;range,<angle-range> in the Parameter shape data field. The example also uses Enabled = false but that didn't help as I still seemed able to grab the shape and rotate it manually...
Reference: Creating a rotating button control.