Post #2757: I have little script which duplicate the selected component and then separate to
📋 Metadata
- Author: Pinhead
- Date: 2019-09-17 16:56:37
- Type:
question - Quality Score: 5/10
- Replies (2): post_02758, post_02763
🏷️ Tags
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
I have little script which duplicate the selected component and then separate to another object.
It is possible to after separate blender automaticly select only separated object?
bpy.ops.mesh.duplicate_move(MESH_OT_duplicate={"mode":1}, TRANSFORM_OT_translate={"value":(0, 0, 0), "orient_type":'GLOBAL', "orient_matrix":((0, 0, 0), (0, 0, 0), (0, 0, 0)), "orient_matrix_type":'GLOBAL', "constraint_axis":(False, False, False), "mirror":False, "use_proportional_edit":False, "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "use_proportional_connected":False, "use_proportional_projected":False, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "cursor_transform":False, "texture_space":False, "remove_on_cancel":False, "release_confirm":False, "use_accurate":False}); bpy.ops.mesh.separate(type='SELECTED'); bpy.ops.object.mode_set(mode='OBJECT')