How to gain access to all projects saved inside of a user via Python?
Category:
Scripting
Answer
Best way to do this is to first access your User by GetCurrentUser(). Once you have gain access to user you may use GetContents() or GetChildren() to access all projects that the current user contains. For example:
user=app.GetCurrentUser()
projects=user.GetContents('*.IntPrj',0)[0]
for project in projects:
app.PrintPlain(project)
Tags