Exporting Image¶
Diagram and table images can be exported to image files from [File]-[Export Image]. The diagram/table name is set to the file name. Diagram images can be exported to image files (PNG, JPEG, EMF or SVG).
Current Diagram (PNG, JPEG, EMF, SVG)
Save the diagram or table in the Diagram Editor to the specified folder in the specified image format.
Multi Diagrams (PNG, JPEG, EMF, SVG)
Save the selected diagrams and tables in the Multi Diagram Chooser to the specified folder in the specified image format.
Output images of figures and tables from the command line¶
Output images of figures and tables from the command line. <Command name> is as follows.
Edition
Windows
Mac
astahsystemsafety-command.bat
astahsystemsafety-command.sh
astahsysml-command.bat
astahsysml-command.sh
Output all figures and tables as images
$<Command name> -image -f Sample.axmz -o <Destination Folder> $<Command name> -image --file Sample.axmz --output <Destination Folder>
Image output by specifying the type of figure/table
$<Command name> -image <Type of diagram/table> -f ASY_SYSML_All_models_rev07.axmz -o <destination folder>
The types of figures and tables that can be specified are as follows
all: output all figures and tables
req: requirement diagram
rqt: requirement table
bdd: block definition diagram
ibd: internal block diagram
par: parametric diagram
uc: use case diagram
act: activity diagram
stm: state machine diagram
sd: sequence diagram
scd: safety concept diagram
pt: precondition table
ahsct: loss hazard safety constraint table
csd: control structure diagram
ucat: UCA table
cld: control loop diagram
lst: loss scenario table
ct: countermeasure table
gsn: GSN/D-Case
mm: mindmap
Output image with specified output resolution
$<Command name> -image <Types of diagram/table> -f Sample.axmz -o <Destination Folder> -dpi 200 $<Command name> -image <Types of diagram/table> -f Sample.axmz -o <Destination Folder> --dpi 200
Output image by specifying the image output target ID
$<Command name> -image -f Sample.axmz -o <Destination Folder> -id <Output Target ID> $<Command name> -image -f Sample.axmz -o <Destination Folder> --dgm_id <Output Target ID>
Output image output by specifying the output image format
$<Command name> -image -f Sample.axmz -o <Destination Folder> -t <Output Image Formats> $<Command name> -image -f Sample.axmz -o <destination folder> --type <Output Image Format>
Diagram images can be exported to image files (PNG, JPEG, EMF or SVG).