CSV Export/Import

Updated: 05/21/2019

Export the names and IDs of all objects such as ArtMeshes, deformers, parts, and parameters of the model as CSV files.
Open the exported file in Excel or a text editor, make edits, and then import the file to apply the changes in a batch.

For example, as shown in the image below, this is useful for modifying the names of models created in Japanese to English in a batch.

How to Export and Import CSV Files

Bulk setting of model objects

  1. Click [Modeling] menu -> [Bulk setting of model objects] -> [Export], and the following dialog box will appear.
    Select the items to be exported and export the CSV file to the desired location.
  2. Modify the CSV file using a text editor or other means.
    Do not edit the GUID and type columns of the CSV file output at this time.
  3. Click [Modeling] menu -> [Bulk setting of model objects] -> [Import] to import the CSV file.

Bulk setting of model parameters

  1. Click [Modeling] menu -> [Bulk setting of model parameters] -> [Export], and a dialog box will appear recommending the creation of a backup.
    Export CSV files to the desired location after making backups as needed.
  2. Modify the CSV file using a text editor or other means.
  3. Click [Modeling] menu -> [Bulk setting of model parameters] -> [Import], and the following dialog box will appear.
    Optionally, all existing parameters can be deleted before execution, but be aware that if you have previously added motions to the model, they will be lost.
    If everything is as desired, import the CSV file.

Specifications for Bulk Setting of Model Parameters

The properties of the various objects subject to bulk setting are as follows:
• Parameters: GUID, Type, ID, Name, Group, Min. value, Default value, Max. value, Repeat, Description
• Parameter groups: GUID, Type, ID, Name

DescriptionDesignation method
Note: Values that can be set are based on the Parameter setting dialog box.
GUIDThis information is used only by the system. This information is uniquely tied to the model parameters.If the designation is blank, it will be treated as a new addition. Otherwise, it is treated as a change in the parameter settings that exist in the model to which it is imported.
IDThe ID of the parameter.Specify a string.
NameThe name of the parameter.Specify a string.
GroupID of the parameter group.Specify a string.
Minimum valueThe minimum value of the parameterSpecify a decimal fraction. (1.5, 0.0, etc.)
Default valueThe dafault value of the parameterSpecify a decimal fraction. (1.5, 0.0, etc.)
Maximum valueThe maximum value of the parameterSpecify a decimal fraction. (1.5, 0.0, etc.)
RepeatParameter repeat setting is enabled/disabled.Specify true if enabled or false if disabled.
DescriptionA description of the parameters that can be set as desired by the userSpecify a string.

The following functions are implemented for the following cases regarding the addition and deletion of parameters.

  1. When you want to make a change
    If you want to change IDs, names, etc. in bulk during modeling.
  2. When you want to make changes and additions at the same time
    If you want to add a new parameter or parameter group at the same time as a. above.
    • The GUID column of the line for the parameter or parameter group you want to add should be a blank string.
  3. When parameters are used as templates
    If you want to set new parameters or parameter groups in bulk, after creating a new model.
    • Check the “Delete all existing parameters before execution” checkbox in the import dialog box.

Caution: All parameters set in the model are deleted at the beginning of processing.

About Exported CSV Files

The encoding of CSV files handled by this function (import and export) is UTF-8.

The exported CSV must be changed to Shift_JIS in order to edit it with software such as Microsoft Excel.
Also, the CSV encoding must be changed back to UTF-8 for import.

Was this article helpful?
YesNo
Please let us know what you think about this article.