createh3dlayer

Creates a layer to be added to the H3D file.

Attention: Available only with Activate commercial edition.

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');