Input fields
- Last UpdatedOct 02, 2025
- 2 minute read
The fileSystemInfo JSON can be easily obtained using the FileExplorer node, inside the importers plugins. In fact, providing the root folder names to the getFileSystemInfo sfunction, it will return a JSON string listing all the files/subfolders/file and subfolder under the given root folders. This json be directly pass to fileSystemInfo input field.
populateInfo
The populateInfo field, a dstring, is composed as follows.
-
rootFolder — The fileSystemInfo JSON can have multiple root folders and their folder structure. To display the default root folder and its folder structure, provide the rootFolder with the root folder name. If root folder name is not found in the fileSystemInfo, then the first folder structure in the fileSystemInfo is displayed in the UI.
-
filter — This can be file or folder depending on the selection type. When filter is set to to folder, files will not be listed; whereas if user wants to select a file then, filter need to be set to file.
-
filterExtension — Lists the extension of the files that the user wants to be listed in UI. If a specific extension is not provided, those particular files will not be listed.
-
mode — Can be Select, when the user wants to select files/folders, or Create, where user can first select the folder inside which new folder will be created and provide a name for the new folder. Note: This will not create a folder directly into the windows file explorer. It will give the output in the form of path, that can be used to create a new folder.
Example
Here is an example of how to compose the populateInfo input field:
{rootFolder=folder1}{startPath=folder_1_0/}{filter=folder}{filterExtension=.mwx,txt,dll}{mode=select}
Input fields
The input fields in the FileExplorerUI module.
|
Name |
Type |
Description |
|---|---|---|
|
fileSystemInfo |
sjson |
Provides the information required to represent the full folder and file structure system. Example { "rootfolders": [ { "Name": "Models", "FullPath": "C:\\Users\\Models", "FriendlyName": "workingDir", "Files": null, "Subdirectories": [ { "Name": "Folder1, "FullPath": "C:\\Users\\Models\\Folder1", "FriendlyName": "", "Files": null, "Subdirectories": [] }, } } Note: JSON can be obtained using FileExplorer node. |
|
hide |
sevent |
Hides the UI. |
|
mouseWheelDelta |
sfloat |
On mouse scroll, folder structure tree can be scroll up/down. |
|
parentUIOrder |
sint |
Changes the UI order. |
|
populateInfo |
dstring |
Sets the initial values for the module. |
|
show |
sevent |
Shows the UI. |