Post #3249: ac

📋 Metadata

🏷️ Tags

macro scripting intermediate

  • Macro Editor
  • Python Scripting

💬 Content

actimelvanille:

Just out of curiosity … would it be possible without a macro in a 1-liner?

@actimelvanille, @Metin_Seven,
Yes, join lines with semicolon:

bpy.ops.object.modifier_add('EXEC_DEFAULT', True, type='SUBSURF'); bpy.context.object.modifiers["Subdivision"].use_creases = False

❤️ 5 likes


🔗 View on Blender Artists