SetActiveScalarName
only sets the scalar name, but you also need to set scalar location (point or cell data). I would recommend using SetActiveScalar
method, which sets scalar name and location at once.
1 Like