image_postscript_subd#
- file.image_postscript_subd(p0: str) int #
For postscript format move-draw images turns on/off the subdivision of polygons for better shading.
The postscript format supports only a single color per polygon. Lighting and false color mapping will look poor unless the polygon is subdivided into smaller (single color) regions. The default is ON.- Args:
- p0:
‘toggle’
ON
OFF
- Examples:
ensight.file.image_format("postscript") ensight.file.image_postscript_type("move_draw") ensight.file.image_postscript_subd("ON") ensight.file.image_file("/tmp/test_image") ensight.file.save_image()
- Returns:
zero on success, non-zero on error