Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5    Statistic    FMM    Blog  


Binds values to an input feature.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WindowsML 10.5 No Yes Yes, Windows only No No
MBS( "WindowsML.BindImageFile"; WinMLRef; Name; Path )   More


Parameter Description Example
WinMLRef The reference number to the model. $Model
Name The name of the input feature.
Path The image file path. "C:\test\test.png"


Returns OK or error.


Binds values to an input feature.


Bind an image:

Set Variable [ $r ; Value: MBS( "WindowsML.BindImageFile"; $$WinMLRef; "data_0"; WindowsML::Image File Path) ]
If [ MBS("ISError") ]
    Show Custom Dialog [ "Failed to set image" ; $r ]
    Exit Script [ Text Result: $r ]
End If

See also

Blog Entries

Created 26th September 2020, last changed 27th September 2020

WindowsML.BindFloat16   -   WindowsML.BindInt16

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins