Skip to main content

Smart Importer UseCase

This section describes various use cases for Smart Importer operations.

Configure Scene Contents

UsingThis section explains how to configure the contents by using an example ofthat importingimports an image file consisting of two scenes, an IVIIn-Vehicle Infotainment (IVI) scene (e.g., music player and climate control) and a cluster scene, explains how to configure the contents.scene.

  • IVI_SampleThe layer:IVI layer is an IVI scene consisting of a music player and air conditioning controls
    controls.
  • The Cluster layer:layer Ais a scene consistingthat of clusterscontains only clusters.

If the import file nameIVI_Scene "IVI_Scene" consists ofcontains the above two layers,layers described above, you can configure the two scenes canto holdcontain different contents (elements)elements by performing the following operations.these steps.

  1. SelectIn [the IVI_SceneSmart ]Importer window's Import Settings tab, select IVI from [ Scenes: ] and select [ Clone Scene... ] from the context menu.
    • In the [ Clone Scene... ] dialog box, specifyenter "Cluster_Scene"Cluster_Scene asin the name field, and pressthen [click OK ].
    • Two scenes, "IVI_Scene"IVI_Scene and "Cluster_Scene" willCluster_Scene, appear inunder the [ Scenes: ] section.Scenes.

  2. Select [ IVI_Scene ] from [ Scenes: ]Scenes, and uncheckthen [ Cluster ] from withinclear the layerCluster tree.check box in the Layer Tree.

    • TheSmart Importer excludes the Cluster layer will be excluded from the IVI_Scene scene structure.

      drawing-5-1726214385.pngdrawing-5-1726214385.png


  3. Select [ Cluster_Scene ] from [ Scenes: ]Scenes, and uncheckthen [clear the IVI_Sample ]check box in the layerLayer tree.Tree.

    • TheSmart Importer excludes the IVI_Sample layer will be excluded from the Cluster_Scene scene configuration.

      drawing-5-1726214339.pngdrawing-5-1726214339.png

       

  4. PressClick the [ OK ] button in the Smart Importer dialog to perform the import.

    • You can see the imported scenes and resources in the Solution Explorer panel.

    • ScenesThe IVI_Scene and Cluster_Scene scenes do not contain the layers specified in steps 2-3,two and three, respectively.

      drawing-5-1726214473.pngdrawing-5-1726214473.png

Re-importing a file containing new images

If you reopen a previously imported file thatusing Restore, and the file has alreadythe been imported (same file name and samepath, pathSmart whereImporter the file was saved) using [ Restore ],loads the saved settingssettings, (including applied controls and appearance settings) will be loaded.settings. If the destination folder or scene already exists, youSmart willImporter be notified bydisplays blue information icons (see orange frames in the orange boximage below). HoveringHold the mouse cursor over these icons willto display the necessary information in a tooltip. RunningWhen you run the import with the current settingssettings, willSmart overwriteImporter overwrites already imported resources and scenes, thus keepingkeeps the Layer Mapping settings and applied controls informationinformation, and updatingupdates the images in the Scene Composer solution to the latest image.

drawing-5-1726214928.pngdrawing-5-1726214928.png

If you want to import image content into the Scene Composer solution a second time, keeping the resources and scenes from both imports, select a different import location or a different scene name.

Re-importing a file containing images with different layers

If you import a filepreviously imported file, that has alreadythe been imported (same destination path,path and same file name),name, but has a partially different layer structure, it will appear as follows on the layerLayer treeTree of thein Smart Importer dialog.dialog appears as follows.

Added/Added or modified group layers

AnSmart Importer adds an orange icon will be added to the Group Node icon. ThroughThis thissymbol symbol,helps you can visually identify groups that have been modified since the last import (see orange frame in the image below).

Control Assigned Bitmap

If ayou bitmaphave ofalready a node to whichassigned a control hasto alreadya beenbitmap assignednode is used withinand another control,control ituses willthat bebitmap, displayedSmart Importer displays the bitmap in yellow font.

Newly added layer

NewlySmart Importer displays newly added layers are displayed in green font (see green frame in the image below).

Note that thisSmart layerImporter willdoes not appearshow newly added layers in thePreview, [it Preview ] becausedisables the check box in the [ Layer Tree ]by isdefault. disabled.To Checkshow the checkbox to make it appearlayer in Preview, select the [check Preview ].

 box.

Deleted Layer

LayersSmart Importer displays in red font layers that existed in the previouspreviously imported file to be imported andbut do not exist in the current import file to be imported are displayed in red font (see the redreed frame in the image below).

Also,

Smart Importer also disables the checkboxescheck boxes in the Layer Tree panel are disabled.. Since these layers are not included in the current import file, theySmart willImporter does not bedisplay displayedthese layers in the [ Preview ], even if theyyou areselect checkedthem in the [ Layer Tree ].

 

drawing-4-1729307338.pngdrawing-4-1729307338.png

Merging multiple scene settings

TheSmart Importer saves the settings whenthat appliedyou apply during the import run are saved in the solution along with the imported scene. This settings-saving behavior allows you to import various configurations into the solution by using a single import target file,file and eventually merge themthe configurations into a single configuration. The following is an example ofshows suchhow ato setupset procedure.this up.

Creating Multiple Configurations

This section uses an example of import using the Car_Cluster.psdPhotoshop Document (PSD) file storedCar_Cluster.psd in the following location.location as an import example. Note that Smart Importer does not display the "New SPI configuration was found"found dialog will not be displayed during each import operation because theyou folderspecify specifieda asdifferent the import import-destination is different.folder.

<root>\cgi_studio_content\2D\PSDPSD\Car_Cluster.psd

  1. Open the Car_ClusterCar_Cluster.psd file in the Smart Importer and configure the Telltale control. Then, under [ Import to Folder ], specifyenter the "/Resources/Cluster_Telltales" folderCluster_Telltales as the import destination and perform the import.
    • See "1. TellTale Settings"Settings in the image below.

  2. Re-open the same image file in the Smart Importer, this time setting the Gauge control. SpecifyEnter "/Resources/Cluster_Gauge" folderCluster_Gauge as the import destination and perform the import.

    • See "2. Gauge Settings"Settings in the image below.


  3. InRepeat the sameprocess way, setfor the ProgressBar control. SpecifyEnter "/Resources/Cluster_ProgressBar" folderCluster_ProgressBar as the import destination and perform the import.

    • See "3. ProgressBar Settings"Settings in the image below.

drawing-5-1726221490.pngdrawing-5-1726221490.png

Merge of multiple scene configurations
  1. Open the Car_ClusterCar_Cluster.psd file in the Smart Importer.

  2. SpecifyEnter "/Resources/Cluster_Telltales"Cluster_Telltales in the [ Import into folder ] and uncheckclear the [ Create new folder for import ]check checkbox.box.
    • At this point, theThe Smart Importer dialog willappears. appear.
Select [ Use ], and then click [ OK ] to restore and apply the Telltale control settings.
  • A blue caution icon will appearappears in [ Scenes: ]Scenes.
    drawing-7-1770712185.pngdrawing-7-1770712185.png

Next, changeChange the import destination to "/Resources/Cluster_Gauge"Cluster_Gauge.
  • A dialog box similar to the one below willappears.
appear, so selectSelect [ Merge ], and then click [ OK ].
  • As a result, theThe configured Gauge control will beis added to the previously configured Telltale control.
    drawing-7-1770720061.pngdrawing-7-1770720061.png

Similarly, change the import destination to "/Resources/Cluster_ProgressBar"Cluster_ProgressBar.
  • As in step 3,4, a dialog box similar to the one shown below willappears.
appear, so selectSelect [ Merge ]Merge, and then click [ OK ].
  • As a result, theThe configured ProgressBar control will beis added.
    drawing-7-1770720114.pngdrawing-7-1770720114.png

TheThese abovesteps operation results increate a configuration with TellTalethe control,TellTale, Gauge control,Gauge, and ProgressBar controlcontrols applied.

Configure a control image with multiple layers

ItIn issome possible thatcases, the imported image file youmay arecontain importing is soa complex thatstructure, where elements such as the Gaugegauge background and needlesneedle are made upcomposed of multiple images foror example.layers. However, the Gauge control in Scene Composer requires only one image for the background and one for the needle. InTo order to balancesupport complex image configurations andwhile preserving control settings, the Smart Importer allows multiple layers for each image used in the control.

TheThis section uses the Car_Cluster.psd file is used as an example.

The imageSmart belowImporter showswindow displays the layerfollowing, treeafter you selected Car_Cluster.psd as file to import with the Smart Importer (see also image below):

    The Layer Tree of the imported "Car_Cluster.psd"psd file inGauge Smartleft Importer.is the Gauge's root layer.
      The orange framed layer contains the Gauge needle. and theThe blue framed layer contains the background.background. The Control List tab lists the artificial intelligence (AI) automatic-control-detection results.
      drawing-4-1729224666.pngdrawing-4-1729224666.png

      To apply

      Follow the steps below to configure a Gauge control,control with a background image that has multiple layers:

        In the Layer Tree, select the root layer of the target layer group on(Gauge left in the [image Layer Tree ]above). In
        theSmart aboveImporter image, "Gauge Left" is the root layer. In the [ Control List ] Tab,lists the results of AI generated automatic control detection byin the AIControl willList betab. listed. Press [In Applythe ]Control buttonList, offind "Gauge"the Gauge control fromand click the listApply andbutton assignnext "Gauge"to the Gauge control.
          Smart Importer assigns the Gauge control to the Gauge left layer groupgroup. "GaugeSmart Left".Importer switches the focus to the Appearance tab.

          ByWhen selectingyou select the root layer to which you apply the controlcontrol, isSmart applied,Importer can configure the entire layer groupgroup, canincluding beall set.child Child layers will be set in the same way.

          layers.
          To select multiple layers and set them all at once, hold down the <ctrl> key or <shift> key and click on the target layer with the mouse,layer, or click and drag around the layer you wishwant to select.

          After

          applyingSmart theImporter control,was in the [ Layer Mapping ] section of the [ Appearance ] Tab, the child layer images in the layer group are set as "NeedleImage" and "Background" imagesable to be used as images for the Gauge control. In the case of Car_Cluster.psd file,configure the NeedleImage property iswith automaticallythe setNeedleImage layer, because the layer name of the file to be importedimport contains NeedleImage.NeedleImage.
          drawing-4-1729225203.png
            The Car_Cluster.psd file contains multiple background-image layers.

             

            drawing-4-1729225203.png

            In

            Select Select layers from the Car_Cluster.psd file, there are multiple layers as the background image. Thus, select [ Select layers ] from the [ BackgroundImage ] pull-drop-down menu.
            drawing-4-1729225226.pngdrawing-4-1729225226.png

              The [ ImageLayers Selection ] dialog box willappears. appear, so selectSelect the layer you want to applyassign to [BackgroundImage BackgroundImageand ]click OK.

               

              drawing-4-1729225434.pngdrawing-4-1729225434.png

              After you finished your configuration in Smart Importer, click OK to start the import.
                Smart Importer importcreates isa executed, anbackground image willby be created in whichmerging the specified layers areand mergedcreating intoa thenew "Background"BackgroundImage. where multiple layers existed. The merged imageYou can besee viewedthis bynewly double-clickingcreated on itimage in the SceneComposer's Solution ExplorerExplorer. to open theDouble-click this image
                  The Image Preview window.window displays the BackgroundImage.
                  drawing-4-1729225962.pngdrawing-4-1729225962.png

                  AsSmart shownImporter above,places bitmaps merged from multiple layers for control properties are placed in the [ ControlBitmaps ] folder in the Solution Explorer.Explorer.