Post #5671: try this
📋 Metadata
- Author: Pluglug
- Date: 2025-12-05 10:15:21
- Type:
answer - Quality Score: 6/10
- Reply to: post_05670
- Replies (1): post_05672
🏷️ Tags
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
try this
cll = C.scene.collection; [([c.objects.unlink(o) for c in o.users_collection[:]], cll.objects.link(o) if o.name not in cll.objects else None) for o in C.selected_objects]
❤️ 1 likes