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 74615

Python is an interactive, object-oriented programming language. In Blender, it is used as a general-purpose scripting language and to create add-ons to extend Blender's functionality.

1 vote
2 answers
606 views

Select/delete Empty with Python

I want to duplicate an instance collection, apply/make instances real, run some code on the objects, then delete them. The problem is the Empty object isn't selected after making the instance real, so …
Greg Mathieson's user avatar
1 vote
0 answers
165 views

Accessing MeasureIt data with a script

I’d like to dimension and measure corner angles of objects with MeasureIt and then access them with a script so I can output a list of the objects with their specs. At this point I'd just like to know …
Greg Mathieson's user avatar
1 vote
0 answers
2k views

Selecting Face Maps

Is there a better way to select specific faces with Python? EDIT - I found a good way to do it with Material Slots: How do I select vertices by material slot in Python? …
Greg Mathieson's user avatar
3 votes
1 answer
3k views

Get edge lengths with python

How can I get the length of an edge with a script? I want to identify a face by its vertex group and get the lengths of its edges. I've gotten as far as identifying the vertex group so I can select it …
Greg Mathieson's user avatar
2 votes

Get edge lengths with python

That was easier than I expected! import bpy import bmesh obj=bpy.data.objects["Cube"] obj.select_set(True) i = 0 for mat_slot in obj.material_slots: #enter edit mode bpy.ops.object.mode_set(m …
Greg Mathieson's user avatar