Eplan Platform API
EPLAN API / API Reference / Interactions / XGedIaFormatGraphic
In This Topic
    XGedIaFormatGraphic
    In This Topic
    formats simple graphic
    Parameter Description

    width

    line width in mm or In or "-16002" for "from layer"
    

    color

    text color (0=black, 1=red, 2=yellow, 3=green, 4=cyan, 5=blue, 6=magenta, 7=black,
                                     8=white, 9=light gray, 252=dark gray, 253=gray, -16002=from layer;
                         The user can set other values in the color selection; possible values are from 0 to 256.
    

    type

    line type (0=solid, 1=dashed, 2=dotted, 3=dash-dot, 4=dash-dot-dot, 5=dash-2 short dashes,
                                   26=long dash-dot, -16002=from layer)
    

    patternlength

    sample length in mm or In or "-16002" for "from layer"
    

    lineendstyle

    line end format (0=fRound, 1=fRectangular, 2=fFlat, 32=fByLayer)
    

    visible

    graphic visibility (0=invisible, 1=visible, 2=from layer)
    

    filled

    fill surface (0=not filled, 1=filled)
    

    rounded

    Corners rounded off (for rectangles only)? (0=not rounded, 1=rounded)
    

    radius

    arc radius in mm or In (for rounded rectangles only)
    

    transparency

    transparency value in % between 0 and 1.0 or "-16002" for "from layer" (for 3D volumes only)
    

    Remarks
     In properties which should be not changed, leave simply question mark ("?").
     
    
     The format is the same like in graphic dialog where properties can be adjusted.
     
    

    Example
     Requirement:
     Set strength of a line to 5,5 mm, cyan color of graphic, and set visibly graphic element to everyone
     
       XGedStartInteractionAction /Name:XGedIaFormatGraphic /width:5,5 /color:4 /type:? /patternlength:? /lineendstyle:? /visible:1 /filled:? /rounded:? /radius:?