[Bf-committers] Release AHOY 1

Nathan Letwory bf-committers@blender.org
Thu, 5 Aug 2004 09:07:22 +0300 (EEST)


>  Unfortunatly it seems, that the according methods are only correctly
>  working, if EDIT MODE was left after step d.)
>
>  I am not completely sure, whether this is a bug in my script or a
>  feature of blender.
>
>  So I am looking for a way to make blender to leave EDIT MODE 8steered
>  by the script) and to enter EDIT MODE after the script's work is
>  done.
>
>  Condensed this longish mail into two questions:
>
>  1.) How can I detect Blender's moder (EDIT MODE, OBJECT MODE...) via
> 	 python scripting?
>
>  2.) How can I switch Blender's modes back and forth via python
> 	 scripting?

http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/Window.py?rev=1.10&cvsroot=bf-blender&content-type=text/vnd.viewcvs-markup

Look for EditMode()

/Nathan