Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:vegas_python_usage [2018/10/27 13:24] hlinke angelegt |
en:vegas_python_usage [2019/06/16 13:03] 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 scriting 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 base 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. | ||