Post #4482: Motiomancer
π Metadata
- Author: Adam_Szalai
- Date: 2022-07-31 11:55:19
- Type:
question - Quality Score: 5/10
- Reply to: post_04474
- Replies (1): post_04483
π·οΈ Tags
macro python-scripting beginner unsolved
βοΈ Related PME Features
- Macro Editor
- Python Scripting
π¬ Content
Motiomancer
Thank Youm it worked perfectly!
Just curious how do You know how to βconvertβ a toogle command into this true false? 
I mean the toogle command looks totally different from the true false one.
bpy.ops.view3d.toggle_xray()
C.space_data.shading.show_xray = True
Iβm asking this beacuse i have another player that i would set to a certain value instead of toogle
bpy.ops.object.editmode_toggle()