Post #697: Trying to use this command to make a fast “project from view” but it executes PF

📋 Metadata

  • Author: Leafar
  • Date: 2017-06-06 03:27:32
  • Type: question
  • Quality Score: 6/10
  • Replies (1): post_00698

🏷️ Tags

macro hotkeys intermediate

  • Macro Editor
  • Python Scripting

💬 Content

Trying to use this command to make a fast “project from view” but it executes PFV before everything else and I do not know why…

bpy.ops.view3d.viewnumpad(type=‘FRONT’);
bpy.ops.view3d.view_selected();
bpy.ops.object.mode_set(mode=‘EDIT’);
bpy.ops.uv.project_from_view()


🔗 View on Blender Artists