Forum
    • Categories
    • Register
    • Login

    Unload Expansion

    Scheduled Pinned Locked Moved General Questions
    expansionsunloadunloadexpansion
    8 Posts 3 Posters 54 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rzrsharpeprod
      last edited by

      I can see the unloadExpansion() function in the API but I'm not sure how to call it?

      I am trying to unload the currently loaded expansion at certain points but not sure what should go in front of it?
      Is it exphandler, current expansion etc that goes before unloadExpansion();

      Thanks in advance

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @rzrsharpeprod
        last edited by

        @rzrsharpeprod This removes the expansion from the list of expansions you'll see when you call ExpansionHandler.getExpansionList(), I don't think that's what you want.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        R 1 Reply Last reply Reply Quote 0
        • R
          rzrsharpeprod @David Healey
          last edited by

          @David-Healey no it isn't you're right.

          I'm just looking for a way to 'unload' an expansion when I go back to banks page really for a couple of reasons.

          Is there a way to do that or something similar?

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @rzrsharpeprod
            last edited by

            @rzrsharpeprod If you load a preset from the base preset folder then I think that will effectively unload the expansion

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @David Healey
              last edited by

              expansionHandler.setCurrentExpansion("");
              
              David HealeyD R 2 Replies Last reply Reply Quote 1
              • David HealeyD
                David Healey @Christoph Hart
                last edited by

                @Christoph-Hart

                alt text

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                R 1 Reply Last reply Reply Quote 1
                • R
                  rzrsharpeprod @Christoph Hart
                  last edited by

                  @Christoph-Hart yes thankyou I figured that out after I posted and it is working as required.
                  Much appreciated

                  1 Reply Last reply Reply Quote 0
                  • R
                    rzrsharpeprod @David Healey
                    last edited by

                    @David-Healey ha how do you think I feel, I'd already used it and got rid of it earlier in the project 🤷

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    28

                    Online

                    2.1k

                    Users

                    13.0k

                    Topics

                    112.5k

                    Posts