Make a User-Friendly GUI for Fusion Scripting in DaVinci Resolve

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 12

  • @AE2Authors
    @AE2Authors Місяць тому +1

    Hi, just leaving a word of gratitude!
    Thanks Asher

    • @asherroland
      @asherroland  Місяць тому

      My pleasure! Thanks for the gratitude! :)

  • @GamerKittyEuphoric
    @GamerKittyEuphoric 2 місяці тому +2

    these tuts are def one of a kind, you can't find anything like them so keep goin :D

  • @PeeJ_ENT
    @PeeJ_ENT 2 місяці тому +1

    Very nice, only question I have is where did you find the info on how to get the length of the test variable (#) 25:50 and what is it returning when there is not a subfolder name (I'm assuming its blank or nil which is why it works)

    • @asherroland
      @asherroland  2 місяці тому +1

      Putting the Pound sign in front of any table will get how many items are inside of it, so if there's a table like this:
      local table = { 1, 2, "tree", false }
      and we put a "#" in front of it, either to make another variable,
      "local tableleng = #table"
      or to check it in an if, or to use in a for loop like this:
      "for 1, #table, 1 do
      end"
      Doing that gives us the variable tableleng = 4, for the amount inside the table
      If there are no items left, then it will just say 0.

    • @PeeJ_ENT
      @PeeJ_ENT 2 місяці тому +1

      @@asherroland gotcha

  • @Dexter101x
    @Dexter101x 2 місяці тому +2

    Nice video

  • @GamerKittyEuphoric
    @GamerKittyEuphoric 2 місяці тому +1

    they are actually adding something similar to this in resolve 19 beta 5, a synced media bin - definitely not the same, but my god it's gonna save so much time

    • @asherroland
      @asherroland  2 місяці тому

      I saw that! haven't had a chance to check it out yet though 🤔

    • @GamerKittyEuphoric
      @GamerKittyEuphoric 2 місяці тому +1

      @@asherroland it's really cool. You import a folder into your master folder structure and then you right click to update it.

    • @XSENTIAL
      @XSENTIAL 2 місяці тому +1

      Amazing this is gold😮

  • @SunriseFilmmaker
    @SunriseFilmmaker 3 дні тому

    /// Great video. Just follow this in Davinci Resolve and modified the function for displaying levels in the combo
    *********
    function uiFillCmbBin(bins_list, level)
    local levelCount = level + 1
    local cmbOffset = string.rep(" ",levelCount)
    for i, bin in ipairs (bins_list) do
    _items.cmb_bins:AddItem(cmbOffset..bin:GetName()) --Add Bin to the Combo
    local subfolder = bin:GetSubFolderList() -- Verify subfolders
    if subfolder > 0 then *** I have to remove the number simbol for youtube***
    uiFillCmbBin(subfolder, levelCount)
    end
    end
    end
    *****
    /// The first call to the function
    if _rootSubBins then
    uiFillCmbBin(_rootSubBins, 0)
    end