Post #1279: ![](https://blenderartists.org/user_avatar/blenderartists.org/roaoao/48/37600_2.

📋 Metadata

🏷️ Tags

pie-menu hotkeys intermediate

  • Pie Menu Editor
  • Python Scripting
  • Custom Menus

💬 Content

roaoao:

Hi, where I can findhp_add_primitive command?

Yes, you can try to add this code:

bpy.ops.view3d.hp_add_primitive(type="Cylinder_6"); bpy.ops.object.modifier_add(type='SUBSURF')

It’s from HeavyPoly’s custom menus, which are here. And it’s the HEAVYPOLY_pie_add.py menu.

And I meant modifier keys, like Ctrl/Alt/Shift, however knowing how to add Blender’s modifiers is also very helpful!


🔗 View on Blender Artists