again a newbee question…
I try to find out a little about the new modules (armatures and curves) and I can print out the functions with print dir (), but I am unable to print out their attributes (RotX,RotY etc or equivalents) yet.
So how can I do so?
Thanks in advance
Timonides
(Timonides)
July 29, 2003, 10:58pm
2
Hi H_H…
I’m afraid there isn’t such a way to access the kind of information you want…
The only way to get the corresponding attributes you seek (such as RotX, RotY… etc.), is to check out the ipo window…
All of the attributes mentioned at the right side of the ipo window are allowed to be used…
But ofcourse I could be wrong on that…
Maybe someone with a better knowledge on Blender&Python, would have a better answer to that…
Any Guru’s around???
Spyros.
<EDIT> You can also browse the various Modules and functions of the Blender API by using the doc_browser script http://awalker.freeservers.com/Blender/doc_browser.zip , or the docstrings script that prints out the modules to an HTML file http://awalker.freeservers.com/Blender/docstrings.zip … Much easier than using the print dir (‘modulename’) command…</EDIT>
stani
(stani)
August 12, 2003, 6:05am
3
You might try the Python Blender browser of blenpy or Spe, which is a specific Python IDE for Blender. It is available at:
http://projects.blender.org/projects/spe/
Screenshot Spe’s blender browser:
http://stani.host.sk/python/spe.png
(Refresh your browser if the screenshot doesn’t load.)
Screenshots blenpy:
http://stani.host.sk/python/blenpy.html
Forum for help and discussion:
http://projects.blender.org/forum/?group_id=30
Let me know if it worked,
Stani