Make add-on as a new mode

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Mr.Yeah
Posts: 7
Joined: Mon Dec 24, 2012 1:41 pm

Make add-on as a new mode

Postby Mr.Yeah » Mon Dec 24, 2012 6:00 pm

Hello.

Do you know how I can add a new mode (like object or edit mode) with Python API?
Thanks in advance

cu
Mr.Yeah

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Wed Dec 26, 2012 9:09 pm

i wonder what mode you would add... and no, it's not possible with python.
I'm sitting, waiting, wishing, building Blender in superstition...

Mr.Yeah
Posts: 7
Joined: Mon Dec 24, 2012 1:41 pm

Postby Mr.Yeah » Thu Dec 27, 2012 9:17 am

It's an add-on which makes it a lot of easier to build Lego-like models.

CoDEmanX
Posts: 894
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Postby CoDEmanX » Wed Jan 02, 2013 8:48 pm

you can write modal python operators or use the redo functionality (e.g. Add > Mesh > Grid, bottom of T panel > subdivisions)
I'm sitting, waiting, wishing, building Blender in superstition...

Mr.Yeah
Posts: 7
Joined: Mon Dec 24, 2012 1:41 pm

Postby Mr.Yeah » Wed Jan 02, 2013 10:47 pm

It's already done and works for my needs. I'm using both for my plugin.
It would be just more comfortable as a mode.


Return to “Python”

Who is online

Users browsing this forum: No registered users and 1 guest