Post #4708: Thanks for the reply, sorry I wasn’t clear, I was trying to store the value of l

📋 Metadata

🏷️ Tags

macro pie-menu scripting intermediate unsolved

  • Macro Editor
  • Pie Menu Editor
  • Python Scripting
  • Property Editor

💬 Content

Thanks for the reply, sorry I wasn’t clear, I was trying to store the value of location to PME,for the purpose of use it later When the command Cam_0V0 is executed,The method I am currently using is:

Snipaste_2023-04-26_08-34-21Snipaste_2023-04-26_08-34-211551×607 99.4 KB

It takes 3 steps to store one value and 9 steps to store 3 values(location,rotation,Focal length), so I want to use the command “pmi edit” to do it by shortcut key “F1”. When the command Cam_0V0 is executed,PME will switches to this command menu,When I press F1, the 3 values are automatically written to the corresponding columns。

imageimage820×249 39 KB

But I found that the command “pmi edit” only writes text, not variables. This does not work

imageimage704×311 24.9 KB

So, I would like to ask what code or command can I use to simplify my steps, How exactly do the two methods you mentioned work and will they simplify my steps? thank you.


🔗 View on Blender Artists