FormIt Plugin API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
FormIt.Files API

Description

Functions

json FormIt.Files.GetSupportedFilesList (action, type, dialogType)
 Get Platform's supported files Parameters: In: action File action (eg: Load or Save file) In: type File's content type (eg: 3D Model or Image) In: Dialog box which shows the supported file types(deafult local) Out: array of Files.FileOptions.
 
json FormIt.Files.IsFileSupported (extension, action, type, dialogType)
 Check if a file extension is supported Parameters: In: extension File extension to check if is supported In: action File action (eg: Load or Save file) In: type File's content type (eg: 3D Model or Image) In: Dialog box which shows the supported file types(deafult local) Out: bool
 

Function Documentation

◆ GetSupportedFilesList()

json FormIt.Files.GetSupportedFilesList ( action  ,
type  ,
dialogType   
)

Get Platform's supported files Parameters: In: action File action (eg: Load or Save file) In: type File's content type (eg: 3D Model or Image) In: Dialog box which shows the supported file types(deafult local) Out: array of Files.FileOptions.

Parameters
[in]actionFormIt.Files.Action
[in]typeFormIt.Files.ContentType
[in]dialogType(OPTIONAL) FormIt.UI.FormItDialogBox
Returns
ret.GetList()

◆ IsFileSupported()

json FormIt.Files.IsFileSupported ( extension  ,
action  ,
type  ,
dialogType   
)

Check if a file extension is supported Parameters: In: extension File extension to check if is supported In: action File action (eg: Load or Save file) In: type File's content type (eg: 3D Model or Image) In: Dialog box which shows the supported file types(deafult local) Out: bool

Parameters
[in]extensionString
[in]actionFormIt.Files.Action
[in]typeFormIt.Files.ContentType
[in]dialogType(OPTIONAL) FormIt.UI.FormItDialogBox
Returns
{...}