Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 104566

Questions concerning scripting in Blender using the Python programming language. Also use this tag for questions about scripting in OSL (Open Shading Language).

1 vote
Accepted

What's the correct context for bpy.ops.mesh.rip_move()?

I wasn't able to get this simple example to work, but my full version of the code now works. I needed to add 'INVOKE_DEFAULT' as a parameter and call it from inside a class that extends bpy.types.Oper …
Dr. Cyanide's user avatar
1 vote
1 answer
35 views

What's the correct context for bpy.ops.mesh.rip_move()?

I'm trying to write a script to rip and move the selected vertices of an object, but I keep getting an error that my context is incorrect. I'm writing this on Blender 3.3, but I suspect the context wi …
Dr. Cyanide's user avatar
2 votes
1 answer
36 views

How do you reuse an operator with different variables? "Object has no attribute" error when ...

I'm trying to add buttons to install/uninstall various dependencies for my add-on. I don't want to make a new operator for each button, so I need a way to pass in the dependency. Looking at How displ …
Dr. Cyanide's user avatar