Hello fabian Rol,
I am new in writting macro in Zen (but not new in python) and I don't understand where to find the information about the methods and the different objects. The scripting language is in Python, but the list of objects and methods we can find on the scripting window itself is in C, not in python...
From your short introduction I guess that until now you used 'normal Python’. Normal Python is based on native (unmanaged) code.
Zen is based on the .Net Framework and therefore we have to use 'IronPython' for ‘interaction’, as only 'IronPython' is able to use .Net code, which is managed code. All the classes/objects a macro refers to are taken from Zen ‘directly’. Zen itself is written in C# and therefore the documentation of the object model is in .Net (C#, not C) as well.
Please keep the difference of normal Python and IronPython in mind when it comes to the ‘import’ of libraries etc.
When reading macro example methods or objects often starts with "Zen." as if Zen is an object or a library but it is loaded nowhere on the macro.
This is really a very good observation! The solution is, that the Zen object (plus other things) is loaded in the ‘back’ when a macro is started.
As far as documentation is concerned, you may have already found
viewforum.php?f=14 (which I updated today!)
But there is no further macro documentation, especially as far as the class/object documentation is concerned. Maybe it really makes sense that you deal with the .Net (C#) documentation as the .Net Framework documentation is in a similar style and it offers a very wide range of additional functions that you can import in IronPython.