Try this in Property
tab:
C.object.show_wire
Try this in Property
tab:
C.object.show_wire
Yes, Iâve updated the example. It will be available in the next version.
Download and copy command_context_sensitive_menu.py file to pie_menu_editor/scripts
folder and import context_sensitive_menu.json file.
To add more context sensitive menus you need to name your sub-menus with some prefix/suffix. Eg:
CSM2: None Object
, CSM2: Mesh
, CSM2: Any Object
And update the code for the context sensitive menu (Command
tab):
execute_script("scripts/command_context_sensitive_menu.py", prefix="CSM2: ")
Worked beautifully! Thank you.
that doesnât affect the margin. I think is something predeterminated in code. Thks
Hey,
i want to create top toolbar in shader editor.
When i try to add node (for example noise texture) shift+a right click on noise texture and Pie Menu Editor, choose Top Toolbar and button is inactive.
In PME preferences in Top Toolbar button have command:
bpy.ops.node.add_node(type=âShaderNodeTexNoiseâ, use_transform=True)
Hi, @Pinhead
This tool requires Node Editor Area to be active.
Download and copy this patch to scripts/addons/pie_menu_editor
folder and restart Blender.
The patch adds focus_area()
function which will be useful for your toolbar.
Now you have 2 ways to fix the tool:
Command
tab):open_menu('Add Node Macro', node_type="ShaderNodeTexNoise")
Command
tab):node_type = "ShaderNodeTexNoise"; focus_area('NODE_EDITOR', center=False); bpy.ops.pme.timeout(cmd="bpy.ops.node.add_node(override_context(area='NODE_EDITOR', region='WINDOW'), type='%s', use_transform=False); bpy.ops.node.translate_attach_remove_on_cancel(override_context(area='NODE_EDITOR', region='WINDOW'), 'INVOKE_DEFAULT', True)" % node_type)
Hello.
Thereâs a little problem.
After installation 15.17 on 2.79 last, menu in the settings is displayed at the bottom of the User preferences window.
After many removals and reinstallations of all Addons, back to old version 1.14 which works without complaints.
Maybe itâs the Blender. Shouldnât be chasing the latest version. ((
Hi, @ssllav
What do you mean by 2.79 last ? Where I can find it?
Iâve tried to download and install Blender from this page and it works.
Yes, I install from there.
Itâs weird, but menu again displayed at the bottom. At the same time them was installed from scratch + pme only⌠after system cleaning.
Thanks, will try to find a solution.
Could you reproduce this issue? Or maybe i can do something for help you to find whatâs wrong? It is not critical, but it is not convenient. Iâm not even sure, what the problem is.
Yep, itâs random but it happens.
Please try to copy this file to scripts/addons/pie_menu_editor/
folder and restart Blender.
Nothing.
I put the file in
AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\pie_menu_editor
But nothing happened.
Suggesting that maybe the process of install changed. I tried to put it in the archive with the addon, replacing the original. And install from User Pref ⌠Nothing.
Updated the file. Please try again.
It`s work. Awesome. Thank you very much!
Hello, incredible add-on. I have been struggling with one issue though. I would like to create context sensitive commands in the Node Editor. For example, a command which would allow me to change the name of a currently selected node. Right now it seems like I must designate the node tree and specific node name if I want to make changes to the node, I want something that will allow me to change the properties of any given node. How would I do this with Pie Editor?
Add C.active_node.name
to property box.
I recommend Context Browser 1.2.1 from roaoao if youâre struggling with finding context members. Nodes have a special context which isnât accessible from the interactive console.
Thank You roaoao! Works great!
It is possible to make toolbars more wider?