system.project.getProjectNames
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β
Nothing
Returnsβ
List - A list containing string representations of project names on the Gateway.
Scopeβ
Gateway, Vision Client, Perspective Session
Code Exampleβ
Code Snippet
# Calling this from the Script Console prints out each project name.
print system.project.getProjectNames()