model.result().dataset().create(<dtag>,"LayeredMaterial") creates a layered material dataset.
When evaluatein is set to
meshnodes or
layermidplanes, you can use the
setIndex selection method to specify the layers to include with the property
layerselection. Likewise, when
evaluatein is set to
interfaces, you can use the
setIndex selection method to specify the layer interfaces to include with the property
interfaceselection. See
setIndex() for more information about that method.