Custum Shortcut Buttons
Midnight_stories
Posts: 4,112
This is a long shot can you create custom buttons in DS that do things like save Material Presets.
Or do you have to hard code it. Can you make a scipt and associate it with a custom button.
Thanks in advance !
Midnight
Comments
Yes, right click in your script, select create custom action
In menu click script, you can see your script, but you want button, then...
In menu select Window --> Workspace --> Customize or F3
I used Pose Builder for example. Click on Toolbar in the right side, In the left side click on Custom, created actions are there.
Click and drag your custom action script to a toolbar. You can create your own toolbar. Click apply and accept. Important: Close Studio and reopen. If studio crash before you lose the button.
If you want a different icon, change it before drag the action. Right click in action select Change Icon...
This is a page with a lot of minimalist free icons. Color and resolution can be selected: http://www.flaticon.com/free-icon/musica-searcher_70376
There are a lot of DS Tools in action, so you can get a button for your favorites. Save Material Preset is in Save Filter list.
Thanks this got me to making new shortcut key for saving materials, I have about 350 mats I need to save this is a huge time saver thanks so much !!!
Apart from materials, anything at all that''s in content can be saved as a custom action and dragged onto a toolbar - figures, props, poses, or entire scenes.
It's even possible to script a new toolbar with your own custom buttons for a product. My Room Creator product comes with a script which allows the user to create a special RC toolbar. I commissioned the script, but the actual creation part of it is distributed in encrypted form (as a condition of the person who wrote it).
Anyway, the point is that DS is very flexible when it comes to stuff like this.
Yes didn't realize that you could make your own shortcuts there's a ton of things I can speed up. The scripting is a bit over my head so will leave that to the experts !
Rob has put up a sample script for saving a Materials preset http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/save_duf_materials/start
Thanks Richard, it very well commented so I have a chance of working out.
Cheers
https://daz3dcookbook.wordpress.com/customising-daz-studio-menus-toolbars/
https://www.daz3d.com/visualmenus
There is also this great addon, it's like maya pie menu almost.
This is just the type stuff I look for TheKD , thanks if you know of anything else similar please post a link-
this one looks very good-lets you make the translate and rotate more precise
https://www.daz3d.com/daz-studio-4-scene-tools-set-2