Contextual File Path Location

Hello,

Trying to figure out how to get this prompt to show up when a user runs a script from the Player.

I’d like the user to be able to pick a file/folder location, ultimately to export some geometry. I’ve tried looking this component up but I can’t seem to find any information - I actually haven’t even been able to show me a prompt at all.

Am I using this correctly? Thanks!

Hi Nick -
When you run that definition with the player, you should see a standard Windows “Open” dialog box:
image

-wim

Thank Wim,

I thought it was pretty simple like you describe. But I still can’t get this to show itself within the player.

Does it need to be fed any information, or does it require anything further? Right now I’m simply trying to report its input.

Thanks!

Hi Nick -

Please post that gh file that you’ve got so far and also copy-paste the information from the Rhino SystemInfo command.
-wim

Thanks Wim,

Right now I simply have just this node to report it’s input. Here is my SystemInfo

Rhino 7 SR21 2022-7-27 (Rhino 7, 7.21.22208.13001, Git hash:master @ c31aea87137a5d0de449338a7ef6856f49dd4797)
License type: Commercial, build 2022-07-27
License details: LAN Zoo Network Node

Windows 10 (10.0.17763 SR0.0) (Server) or greater (Physical RAM: 2e+02Gb)

Computer platform: DESKTOP (Hosting Remote Desktop session)

Standard graphics configuration.
  Primary display and OpenGL: NVIDIA GeForce RTX 2070 SUPER (NVidia) Memory: 8GB, Driver date: 10-26-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 472.47
    > Accelerated graphics device with 16 connection(s)
        - Windows Main Display using connection #0

Secondary graphics devices.
  NVIDIA GeForce RTX 2070 SUPER (NVidia) Memory: 8GB, Driver date: 10-26-2021 (M-D-Y).
    > Accelerated graphics device with 0 adapter port(s)
        - There are no monitors attached to this device!

OpenGL Settings
  Safe mode: Off
  Use accelerated hardware modes: On
  Redraw scene when viewports are exposed: On
  Graphics level being used: OpenGL 4.6 (primary GPU's maximum)
  
  Anti-alias mode: 4x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: High
  
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 10-26-2021
  Driver Version: 30.0.14.7247
  Maximum Texture size: 32768 x 32768
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 32768 x 32768
  Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Commands.rhp	"Commands"	7.21.22208.13001
  C:\Program Files\Rhino 7\Plug-ins\WebBrowser.rhp	"WebBrowser"	
  C:\Program Files\Rhino 7\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 7\Plug-ins\RhinoScript.rhp	"RhinoScript"	
  C:\Program Files\Rhino 7\Plug-ins\IdleProcessor.rhp	"IdleProcessor"	
  C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	7.21.22208.13001
  C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	7.21.22208.13001
  C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp	"Renderer Development Kit UI"	
  C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 7\Plug-ins\Alerter.rhp	"Alerter"	
  C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	7.21.22208.13001
  C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	7.21.22208.13001
  C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp	"Grasshopper"	7.21.22208.13001
  C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	7.21.22208.13001
  C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp	"Displacement"	

File Path.gh (4.6 KB)

Your help is very appreciated! Thank you.

Hi Nick -

I’m afraid that makes it easy. From the system requirements:

Not supported:

  • Virtualization systems such as VMWare, Remote Desktop, and Parallels

-wim

1 Like

Thanks!

Good to know I wasn’t just losing my mind over here.

I appreciate your time.