我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How do I change the color of a status object in Vista diagrams?
Issue
Customer might want to use something other than the default Red Green Yellow status offer as the default for status objects


Product Line
PME 8.0,  7.2
SPM

Enviroment
Power Monitoring

Cause
The status object does not use a .BNP image for the indicator. Customer can supply their own image or they can modify the diagram file to their liking.

Resolution
The Status object is HTML code that gets inserted into the device diagram file when you create a status object.
To change the default status's of the object from ON=Green , Off= Red we can modify the HTML for the object.

Prior to making changes, please close any instances of Vista.
Warning: Take backups of any files prior to modifying them. Ensure the backups are in a location that will not be overwritten (i.e. the Desktop).


1. Using a text editor such as notepad, Open the diagram that contains the object we want to switch the color of.
2. Using CTRL+F search for the name of the status object created in Vista. I find it helpful when creating objects in Vista, to name it something easy to search for instead of using default names.
3. Once we have located the object name look for the line similar to
<StatusItem item_color_off="#00ff00" item_color_on="#ff0000">
4. In this example I will switch the default colors by swapping the HTML code for color_off and color-on
<StatusItem item_color_off="#ff0000" item_color_on="#00ff00">
You can also use any color desired by using the appropriate HTML code for that color.
5. Once the changes have been made click file and save.

6. Reopen your diagram in Visa, and the new colors will be active.

You may need to refresh any web pages that have this diagram open for the changes to be reflected.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings