Page 1 of 1

Re-saving a macro

PostPosted: Wed Feb 07, 2024 6:31 pm
by delpi767
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-

Re: Re-saving a macro

PostPosted: Wed Feb 07, 2024 6:38 pm
by Robert Niessner

Re: Re-saving a macro

PostPosted: Fri Feb 09, 2024 10:27 pm
by delpi767
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.

Re: Re-saving a macro

PostPosted: Sat Feb 10, 2024 12:20 am
by panos_mts
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.

Re: Re-saving a macro

PostPosted: Mon Feb 12, 2024 8:38 pm
by delpi767
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-

Re: Re-saving a macro

PostPosted: Mon Feb 12, 2024 8:52 pm
by panos_mts
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?

Re: Re-saving a macro

PostPosted: Wed Feb 14, 2024 3:47 pm
by delpi767
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-

Re: Re-saving a macro

PostPosted: Mon May 26, 2025 7:33 pm
by Chris Duncan
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!