Post #3012: that helps a lot thanks

πŸ“‹ Metadata

🏷️ Tags

modal python-scripting intermediate unsolved

  • Modal Editor
  • Python Scripting
  • Macro Editor

πŸ’¬ Content

that helps a lot thanks

the problem now is that using the extrude modal Modal Ex.json (1.0 KB)
when try

C.active_operator.TRANSFORM_OT_translate.value

give an error relative to sum entire to a vector

then add z. No error an show the property, but doesn’t modify the mesh

C.active_operator.TRANSFORM_OT_translate.value.z

happens the same whit the inset modal Modal In.json (725 Bytes)
(the sample modal from the tuto works)

i add an On cancel command that launch a menu. This work whit blender menus but when try to launch a Modal does not work

can you please provide sample code for toggle a boolean property
and sample code for a drop down property like transform orientation proportional falloff

thanks !


πŸ”— View on Blender Artists