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

(astah* System Safety)

astahsystemsafety-command.bat

astahsystemsafety-command.sh

(astah* SysML)

astahsysml-command.bat

astahsysml-command.sh

  1. 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>
    
  2. 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 (astah* System Safety)

    • pt: precondition table (astah* System Safety)

    • ahsct: accident hazard safety constraint table (astah* System Safety)

    • csd: control structure diagram (astah* System Safety)

    • ucat: UCA table (astah* System Safety)

    • cld: control loop diagram (astah* System Safety)

    • lst: loss scenario table (astah* System Safety)

    • ct: countermeasure table (astah* System Safety)

    • gsn: GSN/D-Case (astah* System Safety)

    • mm: mindmap

  3. 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
    
  4. 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>
    
  5. 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).