As someone else that responded stated your script works fine 2.49. My guess is that you are using 2.50, in which case 2.5 had a complete overhaul of the Python api. Old scripts will not function in 2.50. I have working to get acquainted with the new api and thus far it does not appear that there is an easy way to do what you are looking for.<br>
<br>-James<br><br clear="all">Computers are incredibly fast, accurate, and stupid; humans are incredibly<br>slow, inaccurate, and brilliant; together they are powerful beyond<br>imagination.<br>— Albert Einstein<br>
<br><br><div class="gmail_quote">On Sun, Nov 22, 2009 at 1:29 AM, Prof.Dr.Gerhard Kauer <span dir="ltr"><<a href="mailto:loi-kg@arcor.de">loi-kg@arcor.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there,<br>
<br>
some time ago, I tried to post a message to the blender forum, but I do<br>
not get ANY answer. I have the feeling, that I did something wrong with<br>
posting that question. Could you give me a hint, how to "place" such a<br>
question like this:<br>
<br>
##############################################<br>
Dear people at Blender Community,<br>
<br>
my good old script for adding a single vertice does not work with the<br>
new blender/Python anymore. I got it some years ago from someone here in<br>
the blender community.It was sooo useful, but now ....<br>
Just to get tears....<br>
<br>
#!BPY<br>
"""<br>
Name: 'Single Vert'<br>
Blender: 243<br>
Group: 'AddMesh'<br>
"""<br>
import BPyAddMesh<br>
import Blender<br>
<br>
def main():<br>
  BPyAddMesh.add_mesh_simple('Single Vert Mesh', [[0,0,0]], [], [])<br>
<br>
main()<br>
<br>
<br>
Does one know why?<br>
The IDLE tells he does not know "BPyAddMesh" ( me either ;-)     )<br>
<br>
<br>
Best regards and<br>
happy blendering<br>
<br>
Gerhard Kauer<br>
<br>
##############################################<br>
<br>
Thank you for yor help.<br>
<font color="#888888"><br>
Prof. Dr. Gerhard Kauer<br>
University of Applied Sciences, Emden, Germany<br>
_______________________________________________<br>
Bf-education mailing list<br>
<a href="mailto:Bf-education@blender.org">Bf-education@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-education" target="_blank">http://lists.blender.org/mailman/listinfo/bf-education</a><br>
</font></blockquote></div><br>