Image1D, Image2D, Image3D
Export an image.
Syntax
model.result().export().create(<ftag>,"Image1D");
model.result().export().create(<ftag>,"Image2D");
model.result().export().create(<ftag>,"Image3D");
model.result().export().create(<ftag>,<pgtag>,"Image1D");
model.result().export().create(<ftag>,<pgtag>,"Image2D");
model.result().export().create(<ftag>,<pgtag>,"Image3D");
model.result().export(<ftag>).set(property, <value>);
model.result().export(<ftag>).run();
Description
model.result().export().create(<ftag>,"Image1D") creates a 1D image feature with the name <ftag>.
model.result().export().create(<ftag>,<pgtag>,"Image1D") creates a 1D image feature with the name <ftag> for the plot group <pgtag>.
result().export(<ftag>).set("plotgroup", <ptag>) changes the source of the image to the plot group named <ptag>.
Image features can be used both to export images and to have ready-made views of plot groups.
The following properties are available:
on | off
on | off
on | off
on | off
current | color | transparent
on | off
png | eps | jpeg | bmp | gltf
The type of image to export. eps can only be used for 1D plots. gltf can only be used for 3D plots.
on | off
on | off
on | off
on | off
If a quality level (quantitylevel) should be active when imagetype is jpeg.
The quality level when imagetype is jpeg.
on | off
px | mm | in
The default values listed are valid before any image has been exported successfully. After that, the settings from the last successful image export are used as default values the next time an image export feature is created.
Changing plot group after creation does not reset plot group-dependent default settings (title, colorlegend).
See Also
Animation