Search found 8 matches
- Fri Nov 22, 2013 7:32 am
- Forum: Coding Blender
- Topic: Find Mode of blender
- Replies: 0
- Views: 45623
Find Mode of blender
bpy.ops.object.mode_set(mode='POSE', toggle=False) Is change the mode, but how to find the active mode? is there any function to find that? This is my python code: if bpy. == 'POSE': // Here I have to check the MODE bpy.ops.pose.scale_clear() bpy.ops.pose.scale_clear() bpy.ops.pose.loc_clear() else:...
- Tue Nov 12, 2013 1:07 pm
- Forum: Coding Blender
- Topic: problem in Configure the blender
- Replies: 0
- Views: 14595
problem in Configure the blender
Hi, I'm using Linux mint 13 [ maya ] OS. I had followed the procedures as same as given in this link " http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Ubuntu/CMake " to configure the Blender and run that in any of editors, BUT I'm getting error that " configuring incomplete, err...
- Mon Nov 04, 2013 12:51 pm
- Forum: Coding Blender
- Topic: Blender save option and operator
- Replies: 0
- Views: 14130
Blender save option and operator
Hi... I'm trying to show save option directly while closing the blender only if user have made any changes in Blender. I'm trying to execute this line ot->exec = wm_save_mainfile; // from window_operator.c file in to this operator function static int wm_exit_blender_op(bContext *C, wmOperator *op) {...
- Mon Nov 04, 2013 7:46 am
- Forum: Python
- Topic: Operators functions wont call in c
- Replies: 3
- Views: 8207
blender saves to .blend if you close blender, check quit.blend Ya Thanks I know this temp saved. But I'm trying to execute this line ot->exec = wm_save_mainfile; in to this operator function static int wm_exit_blender_op(bContext *C, wmOperator *op) { - - - - - ; } But I can't. How its possible? or...
- Thu Oct 31, 2013 8:25 am
- Forum: Coding Blender
- Topic: Operators functions wont call in c
- Replies: 0
- Views: 14453
Operators functions wont call in c
Hi, Advance Thanks for your valuable reply. In this Folder source / blender / windowmanager / intern / File : wm_operators.c In this file, this WM_OT_quit_blender function calls every operator functions like wm_exit_blender_op, wm_console_toggle_op, wm_save_as_mainfile_exec through invoke or exec or...
- Thu Oct 31, 2013 8:15 am
- Forum: Python
- Topic: Operators functions wont call in c
- Replies: 3
- Views: 8207
Operators functions wont call in c
Hi, Advance Thanks for your valuable reply. In this Folder source / blender / windowmanager / intern / File : wm_operators.c In this file, this WM_OT_quit_blender function calls every operator functions like wm_exit_blender_op, wm_console_toggle_op, wm_save_as_mainfile_exec through invoke or exec or...
- Thu Oct 24, 2013 1:22 pm
- Forum: Coding Blender
- Topic: POPUP DIalog WITH YES NO OPTIONS
- Replies: 1
- Views: 11170
POPUP DIalog WITH YES NO OPTIONS
class DialogOperator(bpy.types.Operator): bl_idname = "object.dialog_operator" bl_label = "Save Before You QUIT!" def execute(self, context): message = " You didn't saved yet " self.report({'INFO'}, message) print(message) return {'FINISHED'} def invoke(self, context, event): return context.window_m...
- Wed Oct 23, 2013 2:39 pm
- Forum: Python
- Topic: 'blocking' Yes/No Dialog box in Addon
- Replies: 6
- Views: 12583
I have to create dialog box this should display while closing the Blender. This dialog box have to ask from user that Save Quit Cancel. I have created pop window while closing Blender but I didn't create two button horizontally How it's possible. I'm trying from last one week but no improvement. Whe...