block.field.get

Syntax

f = block.field.get(v,fdef)

Get data from the model at the location specified by v. The optional argument fdef specifies which value to return if v is not inside any zone in the model. By default, fdef = 0.0.

Returns:

f - the scalar data value at location v

Arguments:

v - the location in space to query

fdef - the return value to use if no zone is found at that location