Post #5671: try this

📋 Metadata

🏷️ Tags

macro advanced unsolved

  • 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


🔗 View on Blender Artists