BCMatToElem
Converts material values to elemental values.
Inputs
- src
 - A property value table.
 - elems
 - An element entity table.
 - parts
 - A part entity table.
 - props
 - A property entity table.
 - mats
 - A material entity table.
 - layer_idx
 - Layer index.
 - layer_label
 - Selected layer label.
 
Outputs
- answer
 - An elemental value table.
 
Comments
- If src is a vector or tensor table, it should be transformed to the global coordinate system.
 - Aggregation modes are not applicable for this operation.
 - layer_idx = layer index for the chosen data type, assigned by the application, and defaults to the value “@current_slice_index”. @current_slice_index represents the layer index for the chosen datatype.
 - layer_label = layer label for the chosen data type, assigned by the application, and defaults to the value “@current_slice_label”. @current_slice_label represents the layer label for the chosen data type, and is used to determine the layer ID in cases where an index-based layer lookup is invalid.
 - The XML example below does not specify layer_idx or layer_label and uses the defaults.
 - The Expression Builder will provide default values for layer_idx and layer_label.
 
Syntax
BCMatToElem(src,elems,parts,props,mats,layer_idx,layer_label)XML Example
<call name="BCMatToElem" src="mat_val_tab" elems="elem_tab" 
parts="part_tab" props="prop_tab" 
mats="mat_tab" answer="ans_tab" />