Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:vegas_python_dev [2019/06/10 13:46] hlinke angelegt |
en:vegas_python_dev [2019/07/28 10:24] (aktuell) hlinke [Introduction] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== VEGASPython for Developers ====== | ====== VEGASPython for Developers ====== | ||
+ | ===== Introduction ===== | ||
- | ====== VEGASPython Interactive Window | + | VEGAS Pro allows the control of the application via scripting. Scripting provides access to the internal data structures in VEGAS projects that allows you to automate things that you might normally do via the GUI. |
+ | VEGAS uses the .NET framework to provide its scripting interface. VEGAS can execute C#, JScript, and Visual Basic script files directly. | ||
+ | |||
+ | PYTHON is an easy to learn powerful programming language that is more and more used for scripting of applications. In the 3D and video editing area some application use already PYTHON for scripting. | ||
+ | |||
+ | Goal of this VEGAS extension is to provide an easy access to VEGAS scripting using PYTHON. | ||
+ | |||
+ | The extension provides two options: | ||
+ | * an interactive dockable VEGASPython Window | ||
+ | * executing Scripts located in a specific folder and integrate them into the VEGAS User Interface like other C# Scripts | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Download and Installation ===== | ||
+ | [[en: | ||
+ | |||
+ | ===== Usage ===== | ||
+ | [[en: | ||
+ | |||
+ | How can you use VEGASPython and start writing VEGASPython scripts | ||
+ | |||
+ | |||
+ | ===== Python Scripts===== | ||
+ | [[en: | ||
+ | |||
+ | |||
+ | ===== VEGASPython Tutorial ===== | ||
+ | [[en: | ||
+ | |||
+ | With this tutorial I would like to provide for beginners the know-how to write scripts using VEGASPython. | ||
+ | This includes an introduction to Python progamming and to the main concepts of the VEGAS interface. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Documentation and Links ===== | ||
+ | VEGASPython Scripting FAQ: (adaption of VEGAS scripting FAQ for VEGASPython) | ||
+ | [[en: | ||
+ | |||
+ | VEGAS Scripting FAQ: | ||
+ | [[https:// | ||
+ | |||
+ | The FAQ describes the usage of VEGAS scriting for C#. The examples can be easily transfered to VEGASPython. An updated FAQ for VEGASPython will follow soon. | ||
+ | |||
+ | VEGAS Scripting API: | ||
+ | [[https:// | ||
+ | |||
+ | The API describes the C# definition of all VEGAS structures and items that can be accessed. All these items can be accessed in the same way in VEGASPython. | ||
+ | |||
+ | Sony VEGAS SDK: | ||
+ | [[https:// | ||
+ | |||
+ | VEGAS Pro Tools for developers: | ||
+ | [[https:// | ||
+ | |||
+ | PYTHON documentation: | ||
+ | [[https:// | ||
+ | |||
+ | PYTHON Tutorials: | ||
+ | [[https:// | ||
+ | |||
+ | PythonNet Website: | ||
+ | [[https:// | ||
+ | |||
+ | |||
+ | ===== VEGASPython Interactive Window ===== | ||
VEGASPython includes an interactive window. | VEGASPython includes an interactive window. | ||
Zeile 11: | Zeile 77: | ||
The VEGASPython window shows two textboxes: | The VEGASPython window shows two textboxes: | ||
- | - Input PYTHON | + | * Input PYTHON |
- | - Output | + | |
and a menu with two items " | and a menu with two items " | ||
Zeile 26: | Zeile 92: | ||
All VEGAS API items are available. | All VEGAS API items are available. | ||
- | ====== Examples ====== | + | ===== Examples ===== |
- | + | ||
- | ---- | + | |
Example for a simple script that can be used in the interactive window: | Example for a simple script that can be used in the interactive window: | ||
Zeile 70: | Zeile 133: | ||
evnt.AdjustStartLength(dStart, | evnt.AdjustStartLength(dStart, | ||
+ | ===== Debugging Support ===== | ||
+ | VEGASPython support the debugging of the Python scrips. | ||
+ | See following page: | ||
+ | [[en: | ||
+ | |||
+ | ===== VEGASPython Source Code ===== | ||
+ | VEGASPython is open source with the BSD-3-clause license. | ||
+ | |||
+ | You can find the source code on gitbub: | ||
+ | |||
+ | [[https:// | ||