Simply stated, I'm looking for the python operator for what the P key does to selected objects in edit mode.
So I'm looping through edges like so:
import bpy
obj = bpy.context.active_object
for e in obj.data.edges:
print(dir(e))
I'm attempting to find the e.magically_separate_from_object :D but cannot find it.
Usually I'd find out how to do it through the window interface,but I can't find the window interface for P either.
bpy.ops.mesh.separate()
$\endgroup$ – gandalf3♦ Jul 19 '14 at 1:53P
, the python calls should be in the tooltip. You can also search the api reference. $\endgroup$ – gandalf3♦ Jul 19 '14 at 2:03"python operation for..." (...every tool...)
- so question should be worded more generally. How do I find the equivalent Python command for a key shortcut or menu item? ~ would be a good question. $\endgroup$ – ideasman42 Jul 19 '14 at 2:50