Basic Operations
This section describes the basic operations on thein Smart Importer.
Import File Formats
The Smart Importer usesimports files using one of the following two methods for import,methods, depending on the file format to be imported.format:
- Local files: *.psd, *.xscil, *.xd
- Cloud
Resource:resources: Figma data

For more information on the Photoshop layer structure format, see Recommended Layers Structure for Smart Importer.
Restore Settings
The Smart Importer saves the settings that wereyou applied when configuring the import was performed are saved in the solution along with the imported scene. Therefore, when you importing the same file again and importing to the same path in the Solution Explorer,Explorer, the Smart Importer will displaydisplays a dialog asking if you want to use the saved settings.

| Use | |
| Merge | Merges both the saved settings and the new settings. |
| Don't use |
If an image has been replaced in an imported file, select the Use Radiobutton to replace the old image in the scene can be replaced with a new,the updated image while maintaining the previous mapping between layers and controls by using [ Use ].colors.
For other behaviors when reimporting files, see herereimporting files.
Conversion to 2D Nodes
During import, Smart Importer converts specific elementselements, (artboards/colorsuch pickers,as inPhotoshop Photoshop)artboards inand theColor file to be imported are convertedPickers, to optimal nodes in Scene Composer.
| Artboards |
|
| Color Picker |
Smart Importer can treat Color |
UnderYou cannot edit the Appearance tab under any of the following conditions, the Appearance tab cannot be edited.conditions:
- The layer of the file to be imported does not have image information.
- The applied control does not have a properties that refers to an image.
OtherIn thanall theother above,cases, the same options are available as for image layers. For example, the Layer Mapping section can generate image resources onceafter (Control)you map control properties are mapped to a layer. Similarly, other prototyping tools will do the same with colorColor pickers.Pickers.
For each node in a 2D scene, see here2D scene nodes.
Control instance configured with Smart Importer
After you finished applying the detected controls and configuring images, pivot points, and other properties, click the [ OK ] button at the bottom of the Smart Importer dialog to import the configured file.
See the Smart Importer UI for details on what to configure in each part of the Smart Importer dialog.
ItThe willSmart beImporter importedimports the configured file to the location specified in the Import Settings Tab, withusing the configured settings. Note that you can view the control instance configured in Smart Importer (e.g., "such as Gauge left"left in the image below) can be viewedbelow, in the ImportImports panel.

ControlYou can use control instances configured in Smart Importer can be used in the sceneScene editorEditor or by draggingdrag them into the sceneScene tree.Tree.

Configure Scenes
The Import Settings tab allows you to manage scenes tothat beyou importedimport into Scene Composer. AfterTo selectingsee the available options, select a target scene from the [ Scenes: ]Scenes, openthen right-click the contexttarget menu to see the following optionsscene:

| Add Scene |
After |
| Clone Scene |
The Smart Importer duplicates the scene After |
|
Remove Scene |
Deletes the selected scene. |
| Rename Scene |
Rename the scene. |
TextStyle
When importingyou import a Text Layer into Scene Composer, Scene Composer creates a a new TextStyle is created.TextStyle. Its name will be a combination ofcombines the font name and the font size used in the Text Layer of the PSD file. UponWhen creationScene ofComposer creates a new TextStyleTextStyle, it checks whether the Scene Composer checkssolution ifincludes a font resource with the corresponding namename. is registered in theIf Scene Composer solution.cannot Iffind the appropriate font resources cannot be found in the solution, it displays a dialog box like the belowone will be displayed.below.
If the font does not exist in the solution, you can use an existing font resource by specifying an alternative font on this dialog.

Text and text-containing controls
TheScene Composer imports the bounding rectangle (width/width and height) of text and controls containing text are imported as automatic values.

Global State Machine
Scene Composer imports all State Machine elements are all imported as Global State Machine (confirmationelements dialogand isdoes not displayed).display a confirmation dialog.
