I’m speechless it is so cool :applause:
If I don’t make it global then toggle always will be false. As I understand global variables stays in memory until max is closed, this way can access…
Finally. I have made it to work :bowdown: macroScript NS_materialToggle Category:”Nightshade” toolTip:”Viewport Material Display Toggle” buttontext:”…
You over complicated a bit this is all you need to turn on/off materials in viewport macroScript NS_materialToggle Category:”Nightshade” toolTip:”Vi…
If I have understood you correctly you want to do kind of one button switch. In this case is possible to make something like this fn toggleTextures …
Try the code bellow instead and see if you get same error again — turn material visibility on for o in objects where o.material != undefined do sh…
Hello You may use these snippets of code to build your script I hope this will help — collect objects in scene what have materials assigned obj …
Hello Alexey, Also you can take a look at Smart menu script on Scriptspot it may be helpful as a base for beginning
denisT, this is really amazing
Hi Dean Have a look at code bellow itmay help — Here locate the path to ini file — in this case “myScript.ini” file will be located in “C:\Progr…
Hi Dean, Yes this is possible, you can make a right-click event to create another rollout with the input field to set up a new name for button and sav…
Thank you Raytracer05, Script is great I even can’t imagine how did you get this idea to use composite map :lightbulb I’d probably do something lik…
Hi Denis, Thank you for advice :). If I right understood you then script wrote this way will work better rollout rl_boneTool “Hide/Unhide Bones” widt…
Check out this code rollout rl_boneTool “Hide/Unhide Bones” width:90 height:60 ( button btn_hide “Hide Bones” width:80 height:24 pos:[4,4] button btn…