lookup_table.LockScalarRange = 1
else:
raise RuntimeError("Object %s has no 'LockDataRange' or 'LockScalarRange' attribute!"%(lookup_table))
lookup_table.LockScalarRange = 1
else:
raise RuntimeError("Object %s has no 'LockDataRange' or 'LockScalarRange' attribute!"%(lookup_table))
lookup_table.RGBPoints = [data_range[0], 0, 0, 1, data_range[1], 1, 0, 0]
# Set properties
lookup_table.RGBPoints = [data_range[0], 0, 0, 1, data_range[1], 1, 0, 0]
# Set properties
if (scalar_range is None):
scalar_range = get_data_range(proxy, entity,
field_name, cut_off=True)
if (scalar_range is None):
scalar_range = get_data_range(proxy, entity,
field_name, cut_off=True)
# Get contour values for the range
surfaces = get_contours(scalar_range, nb_surfaces)
# Get contour values for the range
surfaces = get_contours(scalar_range, nb_surfaces)
# Show and dump the presentation into a graphics file
process_prs_for_test(prs, view, pic_name)
return
# Show and dump the presentation into a graphics file
process_prs_for_test(prs, view, pic_name)
return