Post #5220: Is that two line possible as a command in pie menu?

📋 Metadata

  • Author: RobertLe
  • Date: 2024-08-28 19:52:01
  • Type: question
  • Quality Score: 5/10
  • Replies (1): post_05222

🏷️ Tags

pie-menu python-scripting beginner

  • Pie Menu Editor
  • Python Scripting

💬 Content

Is that two line possible as a command in pie menu?

for obj in bpy.context.selected_objects:
        bpy.ops.object.move_to_collection(collection_index=0)

❤️ 1 likes


🔗 View on Blender Artists