CSV File for Virtual Objects

Before you can import virtual objects in bulk, you must manually edit the configuration data in a CSV file (a textual file containing comma separated values).

An example of CSV file to import is available here: GMSMainProject/profiles/VirtualObjectsDataTemplate/SampleVirtualObjectsImport.csv.

CSV Data

The configuration of each virtual object is composed as follows:

ObjectModel,CnsName,CnsFolderName,[Description],[FolderDescription]

For example:

GMS_Virtual_String,String1,StringFolder,My String 1,Folder String

Data

Use

Description

ObjectModel

Mandatory

Name of the object model as it appears in the Object Model folder of the Virtual Objects library.

CnsName

Mandatory

Unique name of the virtual object as it will appear in System Browser.

CnsFolderName

Mandatory

Unique name of the virtual objects folder as it will appear in System Browser.

[Description]

Optional

Description of the virtual object as it will appear in System Browser.

[FolderDescription]

Optional

Description of the virtual objects folder as it will appear in System Browser.

Since each row of the configuration file must include four commas, if [Description] or [FolderDescription] are not specified, comma must be added at the end of the row for each not specified optional data.

For example:

GMS_Virtual_Binary,Binary_01,FolderBinary,,

In this case, description and/or folder description that will appear in Desigo CC will be obtained from CnsName and CnsFolderName respectively.

Example of Virtual Objects CSV File

#,,,,

#ObjectModel,CnsName,CnsFolderName,[Description],[FolderDescription]

#,,,,

,,,,

,,,,

GMS_Virtual_String,String1,StringFolder,My String 1,Folder String

GMS_Virtual_String,String2,StringFolder,My String 2,Folder String

GMS_Virtual_String,String3,StringFolder,My String 3,Folder String

GMS_Virtual_String,String4,StringFolder,My String 4,Folder String

GMS_Virtual_String,String5,StringFolder,My String 5,Folder String

GMS_Virtual_Integer,Integer1,IntegerFolder,My Integer 1,Folder Integer

GMS_Virtual_Analog,Analog1,AnalogFolder,My Analog 1,Folder Analog

GMS_Virtual_Binary,Binary1,BinaryFolder,My Binary 1,Folder Binary