EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-13 12:09 AM . Last Modified: 2025-04-13 12:15 AM
Hello everyone,
is there a way to get the list of all the properties of an object?
I would like to change the color of a text in a Mimic's script but from this documentation it seems that the Static Text object does not have this property...even if the "The object also has other properties" gives me some hope
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: 2025-04-15 12:34 AM
Sure:
Public Sub SetBlue
Mimic.Layers("New Layer").Item("T_1").Pen.FillColour = Server.GetOPCValue("TextColour.Colour")
End Sub
Can also use FindObject but for simple things GetOPCValue does the job.
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: 2025-04-14 06:16 AM
Edit the Animations of the text object. You can set the color of the FillColor property, under the Pen section, using logic. Press the Flowchart button and if you need help with using ta flow chart press F1 to open the help.
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: 2025-04-14 04:56 PM
Some example script to help:
Option Explicit
Public Sub SetBlue
Mimic.Layers("New Layer").Item("T_1").Pen.FillColour = RGB(0, 0, 255)
End Sub
Public Sub SetGreen
Mimic.Layers("New Layer").Item("T_1").Pen.FillColour = RGB(0, 255, 0)
End Sub
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: 2025-04-14 09:56 PM
Thanks!
Is it possible (in a script) to read the RGB value from a Colour TAG?
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: 2025-04-15 12:34 AM
Sure:
Public Sub SetBlue
Mimic.Layers("New Layer").Item("T_1").Pen.FillColour = Server.GetOPCValue("TextColour.Colour")
End Sub
Can also use FindObject but for simple things GetOPCValue does the job.
Link copied. Please paste this link to share this article on your social media post.
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.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of