geth3ddatatypes
Gets defined datatypes inside an open instance.
Attention: Valid only with Altair CAE Readers and Writers Extension.
Syntax
R = geth3ddatatypes(fid, [, subcase])
Inputs
- fid
- Integer representing the file ID, returned from createh3dfile().
- subcase
- A subcase name or index.
Outputs
- R
- Cell containing all datatype names in an H3D file with correct indexing, or datatype names in a subcase if name/index was given.
Example
% file: test.oml
clear all; close all; clc;
cd(fileparts(omlfilename('fullpath')));
modelFile = 'test1.h3d';
resultFile = 'test1_query.h3d';
delete(resultFile);
copyfile(modelFile, resultFile, 'f');
idx = createh3dfile(resultFile, 'append');
% Subcases
datatypes = geth3ddatatypes(idx)
closeh3dfile(idx);