You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.

The following feature is new in Ignition version 8.0.11
Click here to check out the other new features
This function is used in Python Scripting.

Description

Returns an unsorted collection of strings, where each string represents the name of a project on the Gateway. If no projects exist, returns an empty list.

This function only ever returns project names, ignoring project titles. The function also ignores the "enabled" property, including disabled projects in the results. 

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.project.getProjectNames()

  • Parameters

none

  • Returns

List - A list containing string representations of project names on the Gateway.

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet
# Calling this from the Script Console would print out each project name. 
print system.project.getProjectNames()
Keywords

system project getprojectnames, project.getprojectnames

  • No labels