Is there a way to dynamically generate shapes based on the output from an automation script in a similar fashion to based on table rows? Either if the script returns a formatted string or an array of values?
Hi Robin,
Am I assuming correctly that you are referring to generating shapes dynamically in a Visio? (https://docs.dataminer.services/user-guide/Basic_Functionality/Visio/Generating_shapes_dynamically.html)
If that is the case, you can only generate shapes for
- table rows
- child items in a view/service
- alarms
- bookings
- set of elements/views/services
What does the data your script returns represent exactly? If it is linked to elements for example, you could define element properties and configure those from the script used to filter on in your Visio.
If it's not related to any DataMiner object, then I would suggest to create a simple protocol with a table where your script adds rows to. In that case, you can then use that table to generate the shapes.
It returns rows from a memory file which in turn represents control rooms.
I’ll try out the protocol solution, it sounds like the best workaround.