Skip to main content
Part of Export defines information on imported data and files given a reference design This class contains settings for an example design directory (the base_path). These settings include file formats, data items to be imported etc.

Public Types

Public Member Functions

Public Attributes

Detailed Description

defines information on imported data and files given a reference design This class contains settings for an example design directory (the base_path). These settings include file formats, data items to be imported etc.
The currently stored data must be kept “functional” at all times. If you add a new file using the appropriate function, this will take care for you. If you change the data items from outside (GUI etc.) you must use the function check() in order to approve the changes. If the changes are erroneous, the next addFIle-method call may lead to undefined behaviour.

Constructor & Destructor Documentation

ExportReferenceDesign()

constructor Parameters

Member Function Documentation

addFile_Abaqus()

Exports information to a file in Abaqus format. Multiple data items per file are supported. Parameters

addFile_ANSYS_MechanicalDat()

Exports information to a file in ANSYS format. Multiple data items per file are supported. Parameters

addFile_CSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains all available scalar quantities. Parameters

addFile_ElementDataCSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains the selected element quantity. Parameters

addFile_ExternalDataCSV_Disp()

Exports information to a file in External data CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addFile_ExternalDataCSV_ElementData()

Exports information to a file in External data CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addFile_ExternalDataCSV_NodeData()

Exports information to a file in External data CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addFile_Image()

Exports information to an image file. Multiple data items per file are supported. Parameters

addFile_LSDynaK()

Exports information to a file in LS-DYNA K format. Multiple data items per file are supported. Parameters

addFile_Nastran()

Exports information to a file in Nastran format. Multiple data items per file are supported. Parameters

addFile_NodeDataCSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addFile_PERMAS()

Exports information to a file in PERMAS format. Multiple data items per file are supported. Parameters

addFile_SingleSignalCSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. The first column will not denote the node ID, but the respective x-coordinate Parameters

addFile_STL()

Exports information to a file in binary STL format. Multiple data items per file are supported. Parameters

addNewFile_ANSYS_MechanicalDat()

Exports information to a file in ANSYS format. Multiple data items per file are supported. Parameters

addNewFile_CSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains all available scalar quantities. Parameters

addNewFile_ElementDataCSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains the selected element quantity. Parameters

addNewFile_ExternalDataCSV_Disp()

Exports information to a file in External data CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addNewFile_ExternalDataCSV_ElementData()

Exports information to a file in External data CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addNewFile_ExternalDataCSV_NodeData()

Exports information to a file in External data CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addNewFile_Image()

Exports information to an image file. Multiple data items per file are supported. Parameters

addNewFile_NodeDataCSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. Parameters

addNewFile_SingleSignalCSV()

Exports information to a file in CSV format. A CSV file will always be rewritten. It further contains the selected node quantity. The first column will not denote the node ID, but the respective x-coordinate Parameters

addNewFile_STL()

Exports information to a file in binary STL format. Multiple data items per file are supported. Parameters

check()

checks if the settings are valid and produces an error. Parameters Exceptions

checkFiles()

checks if all required files to be exported to exist in the given design directory Parameters Exceptions

checkObjects()

checks if all required objects for the given design number are existing in the database Parameters Exceptions

generateScriptOfSettingsDefinition()

generates a script string (Lua) that is used to build up the current settings object. Returns the script code, ends with newline. Parameters

getFiles()

assembles the complete list of files being known to this class This is a compact view onto the contained data, since multiple items may be imported from a single file. Returns a list of filenames. The file names are relative to the base path.

getFilesToExport()

assembles a list of files which are to be exported (only the files for which one selected a quantity are exported here) This is a compact view onto the contained data, since multiple items may be imported from a single file and some files may be inactive. Returns a list of filenames. The file names are relative to the base path.

getItem()

gets the respective item if existing Parameters Returns a writable reference to the item. Throws an exception if not existing

getItemIndex()

gets the index of the respective item if existing Parameters Returns index to the item in the vector items. Throws an exception if not existing

getItemsForFile()

assembles a list of items which are to be exported to a specific file Parameters Returns a list of integer indices in ascending order. Each index refers to an Item in the vector items. If no data is to be imported from the requested file, an empty list is returned.

getModifiedFiles()

assembles the complete list of files being known to this class and that are NOT to be created This is a compact view onto the contained data, since multiple items may be imported from a single file. Returns a list of filenames. The file names are relative to the base path.

getModifiedFilesToExport()

assembles a list of modified files which are to be exported (only the files for which one selected a quantity are exported here) This is a compact view onto the contained data, since multiple items may be imported from a single file and some files may be inactive. The filenames in this list contain only those files that are not “newly created” but modified. Returns a list of filenames. The file names are relative to the base path.

getNewFilesToExport()

assembles a list of new files which are to be exported (only the files for which one selected a quantity are exported here) This is a compact view onto the contained data, since multiple items may be imported from a single file and some files may be inactive. The filenames in this list contain only those files that are not “newly created” but modified. Returns a list of filenames. The file names are relative to the base path.

modifyDesign()

modifies a design on disk Parameters

removeFileFromList()

removes all import data from item list which is associated with the sepcified file Parameters Exceptions

setBasePath()

sets a new base path. This includes changing the relative path definition of the already parsed files. Parameters

setExportDesign()

sets if the quantity ident of an item Parameters

setExportQuantity()

sets if the quantity ident of an item Parameters

setExportSource()

sets if the source of an item Parameters