    

 ## On this page

  

 

 # ImportItemInfo Struct Reference

 Last update: 16.07.2025 

defines a data item which was found in an input file [More...](struct_import_item_info.xhtml#details)

## <a name="pub-types"></a>Public Types

enum [enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6) {   
 [NO\_FILE](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6aaa33265d2e12fe02833b6564507c7ac2) = 0, [LSDYNA](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6ae3ed41cd8fb28b6c00b37ec52b7cb6b7), [NASTRAN](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6ae47615bbaba7255ab17b5475d3ba6f12), [NASTRAN\_DATA](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6aa4a8fc27de7c1fc2c3d57f3b1f8769c4),   
 [IMAGE](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a3501d25cdde2b141c20edb67965fb692), [PERMAS](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6adaa7322f9e97c3dd8c2ccc7fe2bde7e5), [STL](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a3a8b3333d20fa8bfc7a658976116142c), [SRB\_NODE\_DATA](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a6bf2010b1987cf32678a3d20cf271f0e),   
 [CSV\_ELEMENT\_DATA](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a04c6cc05b4b240dcef7010c0a8fe6c1d), [CSV\_NODE\_DATA](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6aad9814c4f203f08feeafb2b6eee3eab7), [CSV\_SIGNAL\_DATA](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a565a2902cad43fe6a0e8c158b6840cd9), [ABAQUS](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6ac8278d6ab53d336f785978d964b73abd),   
 [CSV\_GRID2D](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6ae05af27a2ff0a38148e99ece412ce7f3), [CSV\_GRID3D](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a765a447254ba00bdf09a22ac1c93b73a), [LSDYNA\_LSPREPOST](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a761bc485b2799f7d8b5695d966705cb5), [VTK](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a37fb55ddbbe1465cec5f3d154db73e67),   
 [ANSYS\_RST](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a77d989119728b99238a80538f30d76f5), [ANSYS\_APDL](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a622beec7a5cbedf950674f030a0fc4bd), [CSV\_FLUENT](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6ac73aa10b6ec1309408fb30504954e04b), [CSV\_SIGNAL\_MESH](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6a120c094f497f70f76d525ba441139c13)  
 } defines the format of a file [More...](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6)  
 enum [Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7) {   
 [MESH](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a0b8403fccaa9b51239c179649c6fcb50) = 0, [ELEMENT](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a3d10bfe84917127ab3347aa5c6309f33), [NODE](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a59a889456a2d742fdca191dccb3e871d), [INTPT](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a7b4620ed039f4599df122e7ed296888e),   
 [SCALAR](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a7efbb6cac96595e63e8fa171bde1eb68), [NODE\_COOR\_X](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a42ea467d50aa66afc0e6e315f8d112f1), [NODE\_COOR\_Y](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a00b25c8e0cab6b1599a49ca6f47d713e), [NODE\_COOR\_Z](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7ac9c62cc9d9f69f7b3bd081fa8cd93866),   
 [NODE\_COOR\_DEVIATION\_X](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7ab6680dc1c94d4fa46f7b193339253870), [NODE\_COOR\_DEVIATION\_Y](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7aa36d822384b9164b73022b98acb5f5cc), [NODE\_COOR\_DEVIATION\_Z](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a7744238323f31d8a510211e9be798b50), [NODE\_COOR\_DEVIATION\_NORM](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a278fc6ef46d37bb64f0ac03d5e4bd7c9)  
 } defines the type of data item [More...](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7)  
 ## <a name="pub-methods"></a>Public Member Functions

 [ImportItemInfo](struct_import_item_info.xhtml#a6bd3dfce5c30ad48a71454c5d565eca9) (string par\_filename, [enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6) par\_file\_format, [Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7) par\_data\_type, number par\_column, string par\_input\_ident, string par\_imported\_ident="", [MetaStructure](class_meta_structure.xhtml) par\_mesh\_info=[MetaStructure](class_meta_structure.xhtml)(), bool par\_do\_import=true) constructor [More...](#a6bd3dfce5c30ad48a71454c5d565eca9)  
  [ImportItemInfo](struct_import_item_info.xhtml#af038d3b34eed45a889c22c3c07f33328) ([ImportItemInfo](struct_import_item_info.xhtml) other) copy constructor [More...](#af038d3b34eed45a889c22c3c07f33328)  
  [ImportItemInfo](struct_import_item_info.xhtml#ac4691b2fa3ec11f8f14d2a5d0fe12eee) () Default constructor. [More...](#ac4691b2fa3ec11f8f14d2a5d0fe12eee)  
 [ImportItemInfo](struct_import_item_info.xhtml) [operator=](struct_import_item_info.xhtml#a667afcb1ce6cdb5a2b744e1e7c834610) ([ImportItemInfo](struct_import_item_info.xhtml) other) copy-assign operator [More...](#a667afcb1ce6cdb5a2b744e1e7c834610)  
 ## <a name="pub-static-methods"></a>Static Public Member Functions

static [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379) [objectType](struct_import_item_info.xhtml#a966bd52f8d44644549c96c57c9e3fcb3) ([ImportItemInfo::Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7) type) static string [toScript](struct_import_item_info.xhtml#ad7c8fbc61bcc9adca76fe9a4125a2b06) ([ImportItemInfo::enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6) type) static string [toScript](struct_import_item_info.xhtml#acf76864c593997acc55c88a8103127e4) ([ImportItemInfo::Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7) type) static string [toString](struct_import_item_info.xhtml#a689f77aa64edd36bcf1715af4cac9e60) ([ImportItemInfo::enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6) type) static string [toString](struct_import_item_info.xhtml#a7216f66e5b3866d38ca7818959adc1be) ([ImportItemInfo::Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7) type) ## <a name="pub-attribs"></a>Public Attributes

<a id="aa6dc6454c38145fec47c8c801681d834"></a>number [column](struct_import_item_info.xhtml#aa6dc6454c38145fec47c8c801681d834) if it is a data object, then this defines the column in the data matrix (0..n-1)   
 <a id="a1d31798b46ad4cd04e6cebf0f0662035"></a>[Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7) [data\_type](struct_import_item_info.xhtml#a1d31798b46ad4cd04e6cebf0f0662035) the kind of data   
 <a id="a7230ed1aa7408373d99e14941f88b4aa"></a>bool [do\_import](struct_import_item_info.xhtml#a7230ed1aa7408373d99e14941f88b4aa) defines if this data item is to be imported. may be changed by the user. if the data type is a "mesh" then it cannot be "disabled"   
 <a id="a36f06489f13fd31d60f437a4624ac63a"></a>[enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6) [file\_format](struct_import_item_info.xhtml#a36f06489f13fd31d60f437a4624ac63a) the source file format   
 <a id="a3a1a90139c2c8ab1fca0ea8b1790b7b2"></a>string [filename](struct_import_item_info.xhtml#a3a1a90139c2c8ab1fca0ea8b1790b7b2) the name of the source file relative to the base path   
 <a id="a1afff5a91aa2eecf7798cf2c98c2a5c3"></a> **immutable** <a id="a2a5e00ff10ff080a673b6dc03408d88e"></a>string [imported\_ident](struct_import_item_info.xhtml#a2a5e00ff10ff080a673b6dc03408d88e) the ident of the data item as being imported. must be unique for the data type. is empty for geometry data. may be changed by the user.   
 <a id="a19b5a45753d6344e3868e6ebff50fe00"></a>string [input\_ident](struct_import_item_info.xhtml#a19b5a45753d6344e3868e6ebff50fe00) the ident of the data item as found in the file. duplicates are allowed. is empty if geometry data   
 <a id="a7ea101e411c19c7ae8cc1718adb8e8a9"></a> **mutable** <a id="details" name="details"></a>## Detailed Description

defines a data item which was found in an input file

It encapsulates information being found on this data item in the specific file. It knows:

- scalar data, node data, element data, intpt data. If any information on FEM meshes is found, it is marked as See also[MESH](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7a0b8403fccaa9b51239c179649c6fcb50 "contains mesh information ") [Data](group__data.xhtml "Provides functions and classes to control the central data structure. ").
- Further it knows: the ident, the column index in the data matrix (for tensors), the ident to be used after import...
- For mesh data, it also remembers the mesh itself. This is required to check persistency if another mesh is to be added (Sometimes, the mesh is defined in two files - no error. Sometimes one wants to add two meshes from two files - error.).



## Member Enumeration Documentation

<a id="acf1b366f46b9570951935096bc25e2e6"></a>## [◆ ](#acf1b366f46b9570951935096bc25e2e6)enum\_format\_type

 enum [enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6)

defines the format of a file

NoteIn order to stay compatible with existing script files, do only append new items to this list! This list will directly influence the sort order in the item vector Enumerator<a id="acf1b366f46b9570951935096bc25e2e6aaa33265d2e12fe02833b6564507c7ac2"></a>NO\_FILE not from file

<a id="acf1b366f46b9570951935096bc25e2e6ae3ed41cd8fb28b6c00b37ec52b7cb6b7"></a>LSDYNA LS-DYNA Dynain format.

<a id="acf1b366f46b9570951935096bc25e2e6ae47615bbaba7255ab17b5475d3ba6f12"></a>NASTRAN NASTRAN input format.

<a id="acf1b366f46b9570951935096bc25e2e6aa4a8fc27de7c1fc2c3d57f3b1f8769c4"></a>NASTRAN\_DATA NASTRAN data format.

<a id="acf1b366f46b9570951935096bc25e2e6a3501d25cdde2b141c20edb67965fb692"></a>IMAGE pixel-image file (PNG)

<a id="acf1b366f46b9570951935096bc25e2e6adaa7322f9e97c3dd8c2ccc7fe2bde7e5"></a>PERMAS PERMAS mesh file format.

<a id="acf1b366f46b9570951935096bc25e2e6a3a8b3333d20fa8bfc7a658976116142c"></a>STL STL mesh file format.

<a id="acf1b366f46b9570951935096bc25e2e6a6bf2010b1987cf32678a3d20cf271f0e"></a>SRB\_NODE\_DATA SRB node data.

<a id="acf1b366f46b9570951935096bc25e2e6a04c6cc05b4b240dcef7010c0a8fe6c1d"></a>CSV\_ELEMENT\_DATA CSV file (values interpreted as element data)

<a id="acf1b366f46b9570951935096bc25e2e6aad9814c4f203f08feeafb2b6eee3eab7"></a>CSV\_NODE\_DATA CSV file (values interpreted as node data)

<a id="acf1b366f46b9570951935096bc25e2e6a565a2902cad43fe6a0e8c158b6840cd9"></a>CSV\_SIGNAL\_DATA CSV file (values interpreted as signal data)

<a id="acf1b366f46b9570951935096bc25e2e6ac8278d6ab53d336f785978d964b73abd"></a>ABAQUS Abaqus.

<a id="acf1b366f46b9570951935096bc25e2e6ae05af27a2ff0a38148e99ece412ce7f3"></a>CSV\_GRID2D CSV file (values interpreted as node coordinate data)

<a id="acf1b366f46b9570951935096bc25e2e6a765a447254ba00bdf09a22ac1c93b73a"></a>CSV\_GRID3D CSV file (values interpreted as node coordinate data)

<a id="acf1b366f46b9570951935096bc25e2e6a761bc485b2799f7d8b5695d966705cb5"></a>LSDYNA\_LSPREPOST LSPrePost output files (e.g. to visualize data plots of arbitrary node and element data)

<a id="acf1b366f46b9570951935096bc25e2e6a37fb55ddbbe1465cec5f3d154db73e67"></a>VTK VTK format.

<a id="acf1b366f46b9570951935096bc25e2e6a77d989119728b99238a80538f30d76f5"></a>ANSYS\_RST ANSYS binary structural or coupled-field analysis result.

<a id="acf1b366f46b9570951935096bc25e2e6a622beec7a5cbedf950674f030a0fc4bd"></a>ANSYS\_APDL ANSYS APDL input file format. Includes \*.dat and \*.cdb (blocked and unblocke)

<a id="acf1b366f46b9570951935096bc25e2e6ac73aa10b6ec1309408fb30504954e04b"></a>CSV\_FLUENT FLUENT CSV (values interpreted as coordinates and data fields)

<a id="acf1b366f46b9570951935096bc25e2e6a120c094f497f70f76d525ba441139c13"></a>CSV\_SIGNAL\_MESH CSV file (values interpreted as signal mesh + data)





<a id="a1d1cfd8ffb84e947f82999c682b666a7"></a>## [◆ ](#a1d1cfd8ffb84e947f82999c682b666a7)Type

 enum [Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7)

defines the type of data item

NoteIn order to stay compatible with existing script files, do only append new items to this list! This list will directly influence the sort order in the item vector Enumerator<a id="a1d1cfd8ffb84e947f82999c682b666a7a0b8403fccaa9b51239c179649c6fcb50"></a>MESH contains mesh information

<a id="a1d1cfd8ffb84e947f82999c682b666a7a3d10bfe84917127ab3347aa5c6309f33"></a>ELEMENT element data

<a id="a1d1cfd8ffb84e947f82999c682b666a7a59a889456a2d742fdca191dccb3e871d"></a>NODE node data

<a id="a1d1cfd8ffb84e947f82999c682b666a7a7b4620ed039f4599df122e7ed296888e"></a>INTPT intpt data

<a id="a1d1cfd8ffb84e947f82999c682b666a7a7efbb6cac96595e63e8fa171bde1eb68"></a>SCALAR scalar data

<a id="a1d1cfd8ffb84e947f82999c682b666a7a42ea467d50aa66afc0e6e315f8d112f1"></a>NODE\_COOR\_X nodal x-coordinate (extracted from geometry), is always present and is not associated with a file

<a id="a1d1cfd8ffb84e947f82999c682b666a7a00b25c8e0cab6b1599a49ca6f47d713e"></a>NODE\_COOR\_Y nodal y-coordinate (extracted from geometry), is always present and is not associated with a file

<a id="a1d1cfd8ffb84e947f82999c682b666a7ac9c62cc9d9f69f7b3bd081fa8cd93866"></a>NODE\_COOR\_Z nodal z-coordinate (extracted from geometry), is always present and is not associated with a file

<a id="a1d1cfd8ffb84e947f82999c682b666a7ab6680dc1c94d4fa46f7b193339253870"></a>NODE\_COOR\_DEVIATION\_X NODE coordinate deviation x.

<a id="a1d1cfd8ffb84e947f82999c682b666a7aa36d822384b9164b73022b98acb5f5cc"></a>NODE\_COOR\_DEVIATION\_Y NODE coordinate deviation y.

<a id="a1d1cfd8ffb84e947f82999c682b666a7a7744238323f31d8a510211e9be798b50"></a>NODE\_COOR\_DEVIATION\_Z NODE coordinate deviation z.

<a id="a1d1cfd8ffb84e947f82999c682b666a7a278fc6ef46d37bb64f0ac03d5e4bd7c9"></a>NODE\_COOR\_DEVIATION\_NORM NODE coordinate normal deviation.





## Constructor &amp; Destructor Documentation

<a id="a6bd3dfce5c30ad48a71454c5d565eca9"></a>## [◆ ](#a6bd3dfce5c30ad48a71454c5d565eca9)ImportItemInfo() \[1/3\]

 [ImportItemInfo](struct_import_item_info.xhtml)  ( string  *par\_filename*,    [enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6)  *par\_file\_format*,    [Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7)  *par\_data\_type*,    number  *par\_column*,    string  *par\_input\_ident*,    string  *par\_imported\_ident* = `""`,    [MetaStructure](class_meta_structure.xhtml)  *par\_mesh\_info* = `<a class="el" href="class_meta_structure.xhtml">MetaStructure</a>()`,    bool  *par\_do\_import* = `true`   ) 

constructor

Parameters par\_filenamesets filename par\_file\_formatsets file\_format par\_data\_typesets data\_type par\_columnsets column (0..n-1) par\_input\_identsets input\_ident par\_mesh\_infosets mesh\_info par\_imported\_identsets imported\_ident. If it is equal to "", then imported\_ident will be equal to input\_ident par\_do\_importsets do\_import / 



<a id="af038d3b34eed45a889c22c3c07f33328"></a>## [◆ ](#af038d3b34eed45a889c22c3c07f33328)ImportItemInfo() \[2/3\]

 [ImportItemInfo](struct_import_item_info.xhtml)  ( [ImportItemInfo](struct_import_item_info.xhtml)  *other*) 

copy constructor

Parameters otherthe source object 



<a id="ac4691b2fa3ec11f8f14d2a5d0fe12eee"></a>## [◆ ](#ac4691b2fa3ec11f8f14d2a5d0fe12eee)ImportItemInfo() \[3/3\]

 [ImportItemInfo](struct_import_item_info.xhtml)  ( ) 

Default constructor.

NoteDo not use it! It is a dummy for usage with SWIG! 



## Member Function Documentation

<a id="a966bd52f8d44644549c96c57c9e3fcb3"></a>## [◆ ](#a966bd52f8d44644549c96c57c9e3fcb3)objectType()

 static [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379) objectType  ( [ImportItemInfo::Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7)  *type*)   static 

Parameters typethe given data type Returnsreturns the dataobject type that is assocoiated with this kind of data 



<a id="a667afcb1ce6cdb5a2b744e1e7c834610"></a>## [◆ ](#a667afcb1ce6cdb5a2b744e1e7c834610)operator=()

 [ImportItemInfo](struct_import_item_info.xhtml) operator=  ( [ImportItemInfo](struct_import_item_info.xhtml)  *other*) 

copy-assign operator

Parameters otherthe source object to be copy-assigned 



<a id="ad7c8fbc61bcc9adca76fe9a4125a2b06"></a>## [◆ ](#ad7c8fbc61bcc9adca76fe9a4125a2b06)toScript() \[1/2\]

 static string toScript  ( [ImportItemInfo::enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6)  *type*)   static 

Parameters typethe given file format Returnsa string representation of the enum used in Lua code 



<a id="acf76864c593997acc55c88a8103127e4"></a>## [◆ ](#acf76864c593997acc55c88a8103127e4)toScript() \[2/2\]

 static string toScript  ( [ImportItemInfo::Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7)  *type*)   static 

Parameters typethe given data type Returnsa string representation of the enum used in Lua code 



<a id="a689f77aa64edd36bcf1715af4cac9e60"></a>## [◆ ](#a689f77aa64edd36bcf1715af4cac9e60)toString() \[1/2\]

 static string toString  ( [ImportItemInfo::enum\_format\_type](struct_import_item_info.xhtml#acf1b366f46b9570951935096bc25e2e6)  *type*)   static 

Parameters typethe given file format Returnsa string representation of the enum 



<a id="a7216f66e5b3866d38ca7818959adc1be"></a>## [◆ ](#a7216f66e5b3866d38ca7818959adc1be)toString() \[2/2\]

 static string toString  ( [ImportItemInfo::Type](struct_import_item_info.xhtml#a1d1cfd8ffb84e947f82999c682b666a7)  *type*)   static 

Parameters typethe given data type Returnsa string representation of the enum