geth3ddatatypebind

Gets data binding in a datatype.

Attention: Available only with Activate commercial edition.

Syntax

R = geth3ddatatypebind(fid, [, datatype])

Inputs

fid
Integer representing the file ID, returned from createh3dfile().
Type: double | integer
datatype
A datatype name or index.
Type: string | int

Outputs

R
Data binding as the datatype was defined. For example, "node", "elem".
Type: string

Example

% Create H3D file
idx =createh3dfile(resultFile)

% Create H3D layers
lidx1 = createh3dayer(idx, 'Layer 1');
lidx2 = createh3dayer(idx, 'Layer 2');
	
% Create H3D pools
pidx1 = createh3dpool(idx, '2D');
pidx2 = createh3dpool(idx, '3D');

% Create datatype
tidx1  =createh3ddatatype(idx, 'Element Stresses', '3Dtensor', 'elem', 'pools', [pidx1 pidx2], 'layers', [lidx1 lidx2]);

Comments

It returns “undefined” if an existing datatype is not supported for writing using the OMLH3D Toolbox. This can be true for some datatypes coming from a solver.