Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:vegas_python_usage [2019/01/18 07:39] – [Restrictions] hlinke | en:vegas_python_usage [2019/06/16 13:03] (aktuell) – hlinke | ||
|---|---|---|---|
| Zeile 89: | Zeile 89: | ||
| ==== VEGASPython Scripts ==== | ==== VEGASPython Scripts ==== | ||
| - | To allow an easier access to Python Scripts VEGASPython scans the subfolder "VEGASPython". This subfolder must be in the same directory as the VEGASPython.dll. | + | To allow an easier access to Python Scripts VEGASPython scans the subfolder "VEGASPython_PN". This subfolder must be in the same directory as the VEGASPython.dll. |
| {{: | {{: | ||
| Zeile 100: | Zeile 100: | ||
| All output of the script is readirected to the " | All output of the script is readirected to the " | ||
| - | === New Features in Version | + | === New Features in Version 0.92 for Scripts === |
| - | * [[Debugging of Scripts | + | * [[Debugging of Scripts |Debugging of Scripts]] |
| * [[Script hierarchy|Script hierarchy]] | * [[Script hierarchy|Script hierarchy]] | ||
| * [[Script help|Script help]] | * [[Script help|Script help]] | ||
| - | ==== Restrictions ==== | ||
| - | VEGASPytghon is based on IRONPython. [[http:// | ||
| - | VEGAS scripting is based on .NET. IRONPython allows the use of .NET assemblies with Python. Unfortunately this binding to .NET creates some restrictions. | + | === Features not available as of now === |
| - | + | * [[Script hierarchy|Script hierarchy]] | |
| - | Several Python libraries that are based on C or C++ code cannot be used. | + | |
| - | More details can be found in the IRONPython documentation | + | |
| ==== Examples ==== | ==== Examples ==== | ||
| - | see the folder | + | see the folder |
| The folder contains several VEGASPython Scripts that show how to deal with the VEGAS objects, events and tracks. | The folder contains several VEGASPython Scripts that show how to deal with the VEGAS objects, events and tracks. | ||