Post #5237: Ah sorry. Just thought that I can use the line as a shortcut too:
📋 Metadata
- Author: RobertLe
- Date: 2024-10-01 08:06:07
- Type:
discussion - Quality Score: 5/10
- Reply to: post_05234
- Replies (1): post_05238
🏷️ Tags
macro python-scripting intermediate
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
Ah sorry. Just thought that I can use the line as a shortcut too:
[bpy.ops.object.move_to_collection(collection_index=0) for obj in bpy.context.selected_objects]