Post #1273: ![](https://blenderartists.org/user_avatar/blenderartists.org/zimlorog/48/536415

📋 Metadata

🏷️ Tags

macro hotkeys intermediate solved

  • Macro Editor
  • Python Scripting

💬 Content

Zimlorog:

I’m trying to wrap my head around this, but maybe what I’m wanting to do isn’t currently possible.

I have these commands:
bpy.ops.view3d.hp_add_primitive(type=“Cylinder_6”)

Hi, where I can findhp_add_primitive command?

Zimlorog:

Is it possible to use these with the modifiers?

Yes, you can try to add this code:

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

🔗 View on Blender Artists