Smart Importer UI
This page describes the Smart Importer dialog. The Smart Importer dialog consists of the following four parts.


Preview
HereThe youPreview willpanel seedisplays a preview of the file to be imported.
Zoom factor of the preview
The current zoom factor is displayed in the lower-left corner. To adjust the zoom factor of the preview:


Select an element on the preview image,image. thenArtificial AIintelligence detection(AI) willdetects be performedcontrols on the selected element and thelists controls will be listedthem in the Control section.
Import
The import section consists of two tabs, [ Import Settings ] and [ AI Settings ].


Import Settings Tab
The Import Settings tab contains the following settings.
| Import to folder |
Select a destination folder for the imported resources. |
| Create new folder for import |
When this option is enabled, a new import folder can be created with any name. The created folder |
| Scenes |
|
| Toggle Applied Controls Preview |
When this option is enabled, a green frame |
| Resize Display Resolution |
This option is enabled when the resolution of the file to be imported is larger than the solution's display resolution. When this option is enabled, the Smart Importer automatically resizes the resolution of the imported file |
| Import State Machine |
When this option is enabled,the |
AI Settings Tab
Settings forConfigure AI detection aresettings madeon here.this tab.


The Smart Importer uses the value specified in the PreferencePreferences is used for [ Edge Detection ]. For details, pleasesee referthe toPreferences that.page.
TheAI colouruses the color selected under [ Transparent background color ] is used by AI to analyseanalyze the image being imported. WhichThe transparentbest background colour is bestcolor for detecting controls depends greatly on the contentimage ofcontent.
If youAI are havinghas problems with AI detecting controls, try changingchange this setting.
Layer Tree
DisplaysThe Layer Tree displays a tree view of each element from the file being imported. The list displayed here corresponds to the scene tree in Scene Composer. When you select one or more elements are selected in this list, AI detectiondetects is performedcontrols on the selected elements and thelists controls are listedthem in the Control section.
Entering anyEnter keywords in the search field at the top of the Layer Tree willto narrow down the list to only those layers that contain the enteredthose keywords.


Check the checkbox to the left of each layer element to setinclude it asin an element that constitutes athe scene. UncheckedThe elementsSmart willImporter does not beimport imported.cleared elements.
Revert/Revert All button
To cancel the applied control settings, select the target item in the Layer Tree panel and pressclick theRevert.
To Revert ] button. Note that pressing the [ Revert All ] button cancelscancel all applied control settings in the layerLayer tree.Tree, Whenclick the [ Revert All. ]The buttonSmart isImporter pressed,displays a confirmation dialog boxbefore will appear to confirm the continuation of the operation for safety.continuing.
Control
Control List Tab
Select any layer in the Layer TreeTree, and the AI will detectdetects the most suitable controls. The resultsControl ofList thistab displays the analysis areresults displayedand in the "Control List" tab, wherelists candidate controls are listed in order of probability.
The Smart Importer categorizes the controls are categorised by solution and referencereference, (such as ConstructionKit and Custom Controls).Controls.
- For controls in ConstructionKit, the probability of matching with the AI is displayed as a number (and bar) to the right of the control name, and they are listed in descending order from the highest number.
ForCustom controls that are not included inConstructionKit, theyConstructionKit are displayed in order of control name.
- By default, each category displays five
controls are displayed in each category.controls. Clickingthe [View All] button(red box in the image below)will displaydisplays a list of all controls. - The list of controls that is displayed can be narrowed down by entering keywords in the search field at the top (orange box in the image below).
- To apply the controls to the selected element, use
the [Apply] buttonin thecontrolControllist.List.


TheTo displayed control list can be narrowed down by entering keywords inconfigure the searchdisplay fieldsettings, at the top. In addition, using the settings section that appears by clickingclick the triangle icon on the left side of the search field,field. The settings section lets you can configure the display settings of thewhich controls that appear according to the detection value.
To apply a control to a selected element, useclick the "Apply" buttonApply in the controlControl list.List. When applyingyou apply a control with a low probability of AI detection result,probability, a dialog box will appearappears to confirm your selection.
Appearance Tab
When you apply any control is applied,control, the display automatically switches to the "Appearance"Appearance tab. SetConfigure the propertyiesappearance settingsproperties related tofor the applied control'scontrol. appearance.Some Note that some controlscontrols, such as TextValueTextValue, do not require appearance settings.
The Appearance tab is made up of the following three main sections.


Image
For each control image properties, setselect the layer image infrom the file to be imported.import. If the control image propertiesproperty name andmatches the layer namename, arethe equal,Smart Importer automatically sets the layer imageimage. is automatically set. However, youYou cannot edit the image layer.
For example, when you apply the Gauge control is applied,control, the Control Image has a NeedleImage property. Therefore, if NeedleImage exists in the layer name of the file to beimport, imported,the itSmart isImporter automatically setsets it to the NeedleImage property.


When you assign a control to a group player,layer, you can choose from the following options for the control image.


| Select layers |
Select any image layer from the group layer. You can use composite images with multiple layers. For more information, please refer to After importing, the Smart Importer places the composite image If you select a single layer, the Smart Importer uses the original bitmap placed in the |
| Transparent | |
| Default value |
You can selectSelect images included in the group playerlayer by clicking on the selection icon on the right of the image.
You can select theSelect imagesoffrom the descendant layers andyourselfthe current layer as propertyvalues.values- You cannot select layers other than images (except for bitmap layers to which controls have been applied).
- After
selecting,you selected the image, the Smart Importer sets the pivot pointis setto thecentrecenter of the composite image.


For each control image properties, set the layer image in the file to be imported.import. If the control image propertiesproperty name and the layer name arematch, equal,the Smart Importer automatically sets the layer image is automatically set.image.
Image Array Properties
ImageThe Smart Importer supports image array properties is supported, and forautomatically example,assigns images in the FlipBook control are automatically assigned.control. The numbers attached to each Image element on the Appearance tab correspond to the values displayed in descending order in the layer tree.


Folder structure after import
After import, the [Smart Importer creates the Bitmaps ], [ ControlBitmaps ], and [ TextStyles ] folders are created in the Solution Explorer.
| Bitmaps | |
| ControlBitmaps | |
| ImportedScenes | |
| Scenes | When you import a StateMachine (screen transition), the Smart Importer places the target scene |
| TextStyles |


Pivot Point
When set-you set up a control image with layer mapping, the pivotSmart point isImporter automatically set.sets the pivot point. The pivot point values setthat the Smart Importer sets automatically are as follows. (However, if the pivot point values are specified with the layer names mentioned later, the specified values will beare used as the set values.)
- Pivot point X value: 0
- Pivot point Y value: 0
In addition, bywhen checkingyou select the Pivot Point check box (No.1 belowin image)the image below), you can use the following options can be usedoptions:


Can be enter anyEnter values for theX/X and Y coordinates of the pivotpointpoint.(decimal pointsYou canbeenterentered).decimal values.- Set the pivot point to the
centrecenter of the image(clickbyonclicking No.2 in theaboveimageimage)above). The Freehand dialog box will appear (click onClick No. 3 in the image aboveimage).to open the Freehand dialog box. Move the crosshair cursoronin the dialog box tosetconfigure the pivotpoint as you want.point.TheSet the background color of the[Freehand]dialogcan be setto black or gray from[Background Color]in thelowerlower-right corner of the dialog (highlighted in the orange box in the figure below). Additionally, configure the default background colorcan be configuredin Preferences > Smart Importer.


On
Alternatively, you can apply any pivot point value by specifying the pivot point valueit in the layer name of the image to be imported.import.
- If the layer name in the target file to be imported is something like
"***@X10@Y20, the pivot point values are automatically set as"X10X = 10 andY20.Y = 20. - If the layer name in the file to be imported is
"***@X10.5, the pivot point value is automatically set as"X10.X = 10.5 and Yas=”0".0.
9-patchPatch
This option appears when the "Enable editing 9-patch"Patch option is enabled in the Preferences > Smart Importer settings. When enabled, the 9-patchPatch feature can be configured (input values must be positive numbers only).
Basic Properties Tab
This section allowslets you to set some properties items for the applied control. After importing, you can also select the target control and configure it on the propertiesProperties panel.


If the layer name is the same as the control's property name, the Smart Importer automatically maps the individual properties are automatically mapped from the file to be imported.import.