Hello!

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22183
    kong
    Participant

      Hello, How do I express this in a flowscript?

      try
      {
      return _________;
      }
      catch(System.IndexOutOfRangeException ex){}

      return false;

      Thank you in advance!

      #22186
      3d-magic-vr
      Participant

        Hello there, there’s not such a node to do that, you need to implement it if you need it, the try/catch/finally can’t be used by reflection, it’s something that need to be defined depending on the case.

        #22185
        Gavalakis
        Keymaster

          Hey,
          Thanks @Arturo. Yes that is correct. There is no node currently for this, but I have gone ahead and just made one 🙂
          Please find the new “TryCatch” node attached. It will also be included in the next version.
          Once the package is imported, you will be able to find the new node under the “Flow Controllers” category and named “Try Catch”.
          Cheers!

          #22184
          kong
          Participant

            Always appreciate @Gavalakis!!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.