Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-03-13 06:20 AM
I'm trying to read the animation properties of a text object using a script.
Specifically, The text object animation links to the message content of an alarm redirection email object so that when the mimic is displayed, the text object shows the email message. This is working fine. What I want to do is read the link contained within the animation Pen.Text using a script.
I can read the properties of the object, such as the text itself but can't figure out how to read the animation properties.
Any help would be much appreciated.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-03-17 06:01 PM
Unless I misunderstand what you're asking, you can read the current evaluation of any animation, e.g. the Text animation (update for valid layer and item), using:
Mimic.Layers("New Layer").Item("T_1").Text
However, it you want to read the underlying expression used to actually generate that animation then you can't do it directly using scripting, but you can probably do it very clunky through COM and the ViewX Automation interface (which is undocumented...)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-03-17 06:01 PM
Unless I misunderstand what you're asking, you can read the current evaluation of any animation, e.g. the Text animation (update for valid layer and item), using:
Mimic.Layers("New Layer").Item("T_1").Text
However, it you want to read the underlying expression used to actually generate that animation then you can't do it directly using scripting, but you can probably do it very clunky through COM and the ViewX Automation interface (which is undocumented...)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-03-19 01:39 AM
As all the mimics are embedded into other, templated, mimics, an alternative approach I've been trying is to read the properties of an item in an embedded mimic?
e.g. Mimic.Layers("New Layer").Item("embedded_1").Layers("New Layer").Item("T_1").Text
I've had no luck so far with that approach but wonder if I'm simply missing the correct syntax.
Thanks for the suggestion about using the COM and automation interfaces, will give that a try and follow up with how I get on.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.