Re-saving a macro

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

delpi767

  • Posts: 101
  • Joined: Fri Feb 01, 2019 4:27 pm
  • Location: United States
  • Real Name: Dave Davis

Re-saving a macro

PostWed Feb 07, 2024 6:31 pm

Invariably when I create a macro, I find it needs tweaking.

I therefore always "save as group"

However, if I double click on the saved macro to expand the nodes, I can't figure out how to save the macro after I have made changes to the node structure.

TIA,
-dmd-
Offline
User avatar

Robert Niessner

  • Posts: 5627
  • Joined: Thu Feb 21, 2013 9:51 am
  • Location: Graz, Austria

Re: Re-saving a macro

PostWed Feb 07, 2024 6:38 pm

Saying "Thx for help!" is not a crime.
--------------------------------
Robert Niessner
LAUFBILDkommission
Graz / Austria
--------------------------------
Blackmagic Camera Blog (German):
http://laufbildkommission.wordpress.com

Read the blog in English via Google Translate:
http://tinyurl.com/pjf6a3m
Offline

delpi767

  • Posts: 101
  • Joined: Fri Feb 01, 2019 4:27 pm
  • Location: United States
  • Real Name: Dave Davis

Re: Re-saving a macro

PostFri Feb 09, 2024 10:27 pm

Thanks for this. I've been doing this but it doesn't address my real problem.

The problem is that when you have dozens of nodes, you have to go through the macro editor and rename your parameters and make sure you check the appropriate parameters before you save the macro.

I was hoping to preserve the editor settings and not have to go through them again.

Incidentally, you can also save the macro as a group and then don't have to change the operator in a text editor.
Offline

panos_mts

  • Posts: 1220
  • Joined: Mon Oct 21, 2019 3:18 pm
  • Real Name: Panagiotis Vellios

Re: Re-saving a macro

PostSat Feb 10, 2024 12:20 am

delpi767 wrote:However, if I double click on the saved macro to expand the nodes, I can't figure out how to save the macro after I have made changes to the node structure.
Right click on the group and select Settings > Save As.
The macro editor settings will be preserved.

If you need to make changes in the macro editor:
1. Open the macro editor window by going to Fusion > Macro Editor
2. Go to File > Open and select the .setting file
3. Make the changes you want and save it.
Offline

delpi767

  • Posts: 101
  • Joined: Fri Feb 01, 2019 4:27 pm
  • Location: United States
  • Real Name: Dave Davis

Re: Re-saving a macro

PostMon Feb 12, 2024 8:38 pm

Thanks for this. Unfortunately I can't get it to work.

To test this I created a macro with two textplus nodes and saved it a s group. This worked fine.

I then opened the group and expanded it and added a third textplus node. At this point, the node's text was displayed fine.

I then collapsed the group and did a save as.

Now, when I try to use, or edit the macro, the third text node is nowhere to be found.

However, if I open the .setting file, the node its there...
Code: Select all
Text3 = TextPlus {
               Inputs = {
                  GlobalOut = Input { Value = 119, },
                  Width = Input { Value = 1920, },
                  Height = Input { Value = 1080, },
                  UseFrameFormatSettings = Input { Value = 1, },
                  ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
                  Center = Input { Value = { 0.5, 0.362 }, },
                  LayoutRotation = Input { Value = 1, },
                  TransformRotation = Input { Value = 1, },
                  Softness1 = Input { Value = 1, },
                  StyledText = Input { Value = "Text3", },
                  Font = Input { Value = "Open Sans", },
                  Style = Input { Value = "Bold", },
                  VerticalJustificationNew = Input { Value = 3, },
                  HorizontalJustificationNew = Input { Value = 3, },
               },
               ViewInfo = OperatorInfo { Pos = { 489.333, 27.8788 } },
            },


I have closed resolve and re-opened it but the third textplus node is isn't there. I'm stymied.

Thanks,
-dmd-
Offline

panos_mts

  • Posts: 1220
  • Joined: Mon Oct 21, 2019 3:18 pm
  • Real Name: Panagiotis Vellios

Re: Re-saving a macro

PostMon Feb 12, 2024 8:52 pm

I tried the same test by creating a macro with 2 text nodes and it worked fine after adding a third text node.

Are you sure you saved the .setting file to the correct folder?
What happens if you drag the .setting file to the node tree, does it have 2 or 3 text nodes?
Offline

delpi767

  • Posts: 101
  • Joined: Fri Feb 01, 2019 4:27 pm
  • Location: United States
  • Real Name: Dave Davis

Re: Re-saving a macro

PostWed Feb 14, 2024 3:47 pm

Mea culpa. It was, by default saving to Fusion/Settings rather than Fusion/Macros. I didn't bother to look at the path because there were already .settings files in this folder and I foolishly assumed it was the Fusion/Macros folder without looking.

I've now forced the file to be saved to Fusion/Macros and the bottom line is that all is working well. I owe you a huge debt of thanks. You have saved me a great deal of time. I do appreciate your time and your help.

Thanks,
-dmd-
Offline

Chris Duncan

  • Posts: 293
  • Joined: Thu Dec 31, 2015 6:27 pm
  • Location: Atlanta, GA, USA, Earth

Re: Re-saving a macro

PostMon May 26, 2025 7:33 pm

Hey, Robert.

First of all, thanks very much for the video. I'm just beginning my journey into Fusion macros and I immediately hit a head scratcher when trying to go back and edit a macro that I'd created.

When if I add the macro in the edit timeline and then click the Fusion page, I see the grouped macro as you described. However, if I right click there's now an option to ungroup, at which point I have all the original nodes that I can then edit and re-save.

This may have been added after your video (I'm using Resolve 19.1). It's really the same technique as your described, the only difference is not having to manually edit the .settings file.

A part of me wants to observe that this is a somewhat clunky way to edit your work (I come from a software dev background). However, I just upgraded Resolve Studio from 17 to 19 and I think they're doing a really nice job with the Fusion integration. Perhaps this workflow will get its moment in the sun somewhere down the line after more important things have been done.

Subscribed to your channel as I suspect there are many more things I can learn. Thanks!
Chris Duncan
ChristopherDuncan.com
Atlanta, GA

System specs:
Windows 10 64 bit, Xeon 3.2 ghz, 24 gb ram, 2 SSDs (boot & media), Nvidia GTX 980 Ti w/ 6 gb ram
Resolve Studio 19.1.4
Fusion Studio 19.1.4
HyperDeck Shuttle 2, Utility version 4.4

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot] and 265 guests