geth3dsubcases

Gets all defined subcases inside an open instance.

Attention: Available only with Activate commercial edition.

Syntax

R = geth3dsubcases(fid)

Inputs

fid
Integer representing the file ID, returned from createh3dfile().
Type: double | integer

Outputs

R
Cell containing all subcase names in an H3D file with correct indexing.
Type: string | cell

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 = geth3dsubcases(idx)
closeh3dfile(idx);