Ask our Experts
Didn't find what you are looking for? Ask our experts!
A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-28 01:46 AM
Good morning,
I am currently having difficulty with Citect Plant Scada, I need to change the width and color of an object's line by cicode but I can't find any suggestions on how to do it.
I have this code but it doesn't work:
"
PUBLIC FUNCTION Change(STRING sObjectName)
OBJECT AN,hProcessAnalyst
hProcessAnalyst=ObjectByName(sObjectName);
AN=_ObjectGetProperty(hProcessAnalyst, "Panes");
_ObjectSetProperty(AN, "LineWidth", 2);
_ObjectSetProperty(AN, "LineColour", 50);
"
If anyone can help I would appreciate it
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-02-09 09:04 PM
I'd recommend looking at the Example and ExampleSA projects for samples of Cicode that implement something similar.
It might also be helpful to read through the Automation Interface guide for Process Analyst:
https://docs.aveva.com/bundle/plant-scada/page/1147631.html
Kind regards
Olivier
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.