JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    V2 Feedback : require selection from parameter

    Scheduled Pinned Locked Moved Development Discussions
    3 Posts 2 Posters 753 Views 1 Watching
    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.
    • gilboonetG Offline
      gilboonet
      last edited by gilboonet

      I have a script that makes a volume from two svg files that are chosen from text parameters. Then a require is made from those parameters. Won't it be possible to have a list parameter that can be feeded from file names (naturally from project folder) filtered by a mask (like *.svg or profil??.svg ) ?
      Capture d’écran de 2020-10-13 21-57-40.png

      z3devZ 1 Reply Last reply Reply Quote 0
      • z3devZ Offline
        z3dev @gilboonet
        last edited by

        @gilboonet nice idea.

        of course, design parameters are defined by getParameterDefinitions(), but internally this function can call other functions, do calculations, etc. i would expect that loading JSON files should be easy.

        if you want access to a list of files in a subfolder... hold on... there's are some changes in progress. 🤓

        gilboonetG 1 Reply Last reply Reply Quote 0
        • gilboonetG Offline
          gilboonet @z3dev
          last edited by gilboonet

          @z3dev I could easily adapt to any solution allowing to feed a list parameter with files, it will be far a better UI practice than my current one that requires the user to type the file name. Or maybe the ability for a text parameter to receive a file from a drag-drop operation.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Powered by NodeBB | Contributors