ImagePlayground.Create
----------------------

Creates a new image playground.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePlayground](component_ImagePlayground.md) | [15.0](newinversion150.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePlayground.Create" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Creates a new image playground.  
First create, add source image and concepts and then present it.  
### Examples

Show image playground window:

 # create the controller   
Set Variable \[ $r ; Value: MBS ("ImagePlayground.Create") \]  
\# clear words and then add more   
Set Variable \[ $r ; Value: MBS ("[ImagePlayground.ClearConcepts](ImagePlaygroundClearConcepts.md)") \]  
Set Variable \[ $r ; Value: MBS ("[ImagePlayground.AddConcept](ImagePlaygroundAddConcept.md)"; "Cat") \]  
Set Variable \[ $r ; Value: MBS ("[ImagePlayground.AddExtractedConcept](ImagePlaygroundAddExtractedConcept.md)"; "Mountains with trees"; "Waldberge") \]  
\# set the script trigger   
Set Variable \[ $r ; Value: MBS ("[ImagePlayground.SetScriptTrigger](ImagePlaygroundSetScriptTrigger.md)"; Get(FileName); "ImageTrigger") \]  
\# show the popover   
Set Variable \[ $r ; Value: MBS ("[ImagePlayground.Present](ImagePlaygroundPresent.md)") \]  
### See also

- [ImagePlayground.AddConcept](ImagePlaygroundAddConcept.md)
- [ImagePlayground.AddExtractedConcept](ImagePlaygroundAddExtractedConcept.md)
- [ImagePlayground.ClearConcepts](ImagePlaygroundClearConcepts.md)
- [ImagePlayground.Image](ImagePlaygroundImage.md)
- [ImagePlayground.ImagePath](ImagePlaygroundImagePath.md)
- [ImagePlayground.Present](ImagePlaygroundPresent.md)
- [ImagePlayground.Release](ImagePlaygroundRelease.md)
- [ImagePlayground.SetScriptTrigger](ImagePlaygroundSetScriptTrigger.md)

### Example Databases

- [Mac only/ImagePlayground](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/ImagePlayground.shtml#1ScriptAnchor_)

### Blog Entries

- [Use Image Playground in FileMaker](https://www.mbsplugins.de/archive/2024-12-18/Use_Image_Playground_in_FileMa/monkeybreadsoftware_blog_filemaker)

Created 15th December 2024 , last changed 15th December 2024

  
[ImagePlayground.ConceptCount](ImagePlaygroundConceptCount.md) - [ImagePlayground.GetSourceImage](ImagePlaygroundGetSourceImage.md)

[HTML Version](ImagePlaygroundCreate.shtml)