PME Treasure

Home

❯

Posts

❯

2024

❯

post_05222

post_05222

Sep 01, 20241 min read

  • editor/macro
  • topic/python-scripting
  • difficulty/intermediate

Post #5222: Use list comprehensions.

📋 Metadata

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

🏷️ Tags

macro python-scripting intermediate

⚙️ Related PME Features

  • Macro Editor
  • Python Scripting

💬 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

  • Post #5222: Use list comprehensions.
  • 📋 Metadata
  • 🏷️ Tags
  • ⚙️ Related PME Features
  • 💬 Content

Backlinks

  • post_05220
  • post_05224
  • post_05232
  • post_05670

Created with Quartz v4.5.2 © 2025

  • PME on Gumroad
  • PME-F Fork
  • Blender Artists