createh3dlayer

Creates a layer to be added to the H3D file.

Attention: Valid only with Altair CAE Readers and Writers Extension.

Syntax

layerid = createh3dlayer(fid, layer)

Inputs

fid
Integer representing the file ID, returned from createh3dfile().
Type: char | string
layer
Layer name.
Type: char | string

Outputs

layerid
Integer representing the ID of the layer.

Example

% Create a file
	idx =createh3dfile(resultFile, 'append')
	% Create a layer
	lidx1 =createh3dlayer(idx, 'Layer 1');