This article demonstrates how to get all the scripts associated with an analysis file
Introduction
This sample demonstrates how to get all the scripts associated with an analysis file
Code Sample
# Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. f = open("C:\\temp\\Analysis_IronPython.txt", 'w') for sc in Document.ScriptManager.GetScripts(): f.write("\n===========================") f.write("\nScript Name : " + sc.Name) f.write("\nLang :") f.write(sc.Language.Language) f.write("\nCode :\n") f.write(sc.ScriptCode) f.close
References
- API Reference: GetScripts
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.