Post #2571: ![](https://blenderartists.org/user_avatar/blenderartists.org/pinhead/48/528486_

📋 Metadata

🏷️ Tags

pie-menu hotkeys advanced solved

  • Pie Menu Editor
  • Python Scripting
  • Advanced Settings

💬 Content

Pinhead:

Where i must put this line? In advenced settings in Pie menu?

Yes, I think this should work:

not C.active_object and C.selected_objects and setattr(C.view_layer.objects, "active", C.selected_objects[0]); return C.active_object

🔗 View on Blender Artists