PME Treasure

Home

❯

Posts

❯

2024

❯

Post #5222 · Pluglug · Answer

Post #5222 · Pluglug · Answer

Sep 01, 20241 min read

📋 Metadata

  • Author: Pluglug
  • Date: 2024-09-01 17:13:26
  • Type: answer
  • Reply to: post_05220
  • Replies (3): post_05224, post_05232, post_05670

💬 Content

Use list comprehensions.

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

❤️ 1 likes


🔗 View on Blender Artists


Graph View

  • 📋 Metadata
  • 💬 Content

Backlinks

  • Post #5220 · RobertLe · Question
  • Post #5224 · RobertLe · Answer
  • Post #5232 · RobertLe · Question
  • Post #5670 · RobertLe · Bug Report

Created with Quartz v4.5.2 © 2026

  • Get current PME
  • Legacy PME-F 1.x source archive
  • Blender Artists