Parameter |
Description |
---|---|
|
Name of the interaction to be started. Possible interactions are:
|
Using this interaction you have the option of setting the formatting settings of components, texts, graphical elements, or connection and potential definition points to exactly specified values. The available settings are the same as those that can be made in the user interface in the individual property dialogs on the Display, Format and Connection graphic tabs.
In EPLAN, for example, you can assign these interactions in the ribbon of a user-defined command group as commands. The parameters for the above interactions are listed below.
The following values are to be set for certain texts: Font size: 10 mm, Color: Green, Angle: -90°. In addition, an alignment box with a width of 45 and a height of 20 mm is to be shown. A possible entry in the command line in the Rename dialog may look like this:
XGedStartInteractionAction /Name:XGedIaFormatText /height:10mm /color:3 /justification:? /angle:-90 /setframeactive:1 /showframe:1 /framewidth:45mm /frameheight:20mm
If a property should not be changed, then leave the corresponding question mark "?" on the command line alone. In the example, this is, for example, the Alignment property (Parameter: /justification:?). Parameters that are not needed, such as /bold:? can be deleted from the command line.
Parameters for the "XGedIaFormatDefPoints" interaction
Parameter |
Description |
Values |
---|---|---|
/width:? |
Line thickness |
Numeric values in "mm" or in "In" (Inch). With the value "-16002", the "From layer" setting will be applied. |
/color:? |
(Text or line) Color |
The predefined values are:
However, other values can also be specified in the Color selection dialog. Values from 0 to 256 are possible. The values of the colors are displayed in the color selection Tooltip. |
/type:? |
Line type |
The following values are possible:
|
/patternlength:? |
Pattern length |
Numeric values in "mm" or in "In" (Inch). With the value "-16002", the "From layer" setting will be applied. |
Parameters for the "XGedIaFormatGraphic" interaction
Parameter |
Description |
Values |
---|---|---|
/width:? |
Line thickness |
Numeric values in "mm" or in "In" (Inch). With the value "-16002", the "From layer" setting will be applied. |
/color:? |
(Text or line) Color |
The predefined values are:
However, other values can also be specified in the Color selection dialog. Values from 0 to 256 are possible. The values of the colors are displayed in the color selection Tooltip. |
/type:? |
Line type |
The following values are possible:
|
/patternlength:? |
Pattern length |
Numeric values in "mm" or in "In" (Inch). With the value "-16002", the "From layer" setting will be applied. |
/lineendstyle:? |
Line end style |
The following values are possible:
|
/visible:? |
Invisible (text or line invisible / visible) |
The following values are possible:
|
/filled:? |
Fill surface |
The following values are possible:
|
/rounded:? |
Rounded (only applies to rectangles) |
The following values are possible:
|
/radius:? |
Arc Radius (only applies to rounded rectangles; fillet radius of the corners) |
Numeric values in "mm" or in "In" (Inch) |
/transparency:? |
Transparency (specifies the transparency of a 3D object in the layout space) |
Numerical values from 0.0 to 1.0. A value of 1.0 results in complete transparency (100% transparency). As an alternative you can also enter the value 'bylayer'. This will apply the transparency level as set for the layer. |
Parameters for the "XGedIaFormatSymbol" interaction
Parameter |
Description |
Values |
---|---|---|
/language:? |
Language (as in the Format tab in the Properties dialog) |
The following values are possible:
|
/height:? |
Font size |
Numeric values in "mm" or in "In" (Inch). With the value "-16002", the "From layer" setting will be applied. |
/color:? |
(Text or line) Color |
The predefined values are:
However, other values can also be specified in the Color selection dialog. Values from 0 to 256 are possible. The values of the colors are displayed in the color selection Tooltip. |
/justification:? |
(Text) Alignment |
The following values are possible:
|
/angle:? |
Angle to the X-axis by which the text should be rotated in the counter-clockwise direction. |
The following values are possible:
Angle specifications are always in degrees. The "°" character need not be specified, but may be. |
/font:? |
Font |
The values for fonts 1-10 can be determined in the company settings: File > Settings > Company > Graphical editing > Fonts. The following values are possible:
|
/visible:? |
Invisible (text or line invisible / visible) |
The following values are possible:
|
/language:? |
Language (as in the Display tab in the Property dialog) |
The following values are possible:
|
/bold:? |
Font style / Bold |
The following values are possible:
|
/italic:? |
Font style / Italic |
The following values are possible:
|
/underline:? |
Font style / Underlined |
The following values are possible:
|
/showtextbox:? |
Draw text box |
The following values are possible:
|
/sizefromsettings:? |
Size from project setting |
The following values are possible:
|
/leaderline:? |
Activate leader line |
The following values are possible:
|
/setframeactive:? |
Activate alignment box |
The following values are possible:
|
/showframe:? |
Draw alignment box |
The following values are possible:
|
/framewidth:? |
Width of the alignment box |
Numeric values in "mm" or in "In" (Inch) |
/frameheight:? |
Height of the alignment box |
Numeric values in "mm" or in "In" (Inch) |
/adjustframe:? |
Fit to alignment box |
The following values are possible:
|
/propertyId:? |
Identifier of a component property to be defined (= Property number).
|
5-digit number |
/propertyIndex:? |
The index, if the property has indices; usually 0 |
|
/linespacing:? |
Row spacing |
Numeric values. The value "1" corresponds, e.g., to single row spacing, value "2" is double spacing, etc. |
/paragraphspacing:? |
Paragraph spacing |
Numeric values in "mm" or in "In" (Inch) |
/layer:? |
Layer |
Layer name (e.g. "EPLAN501") |
For certain graphical elements, the line thickness should be set to 5.5 mm and the graphic filled with cyan. The graphical elements should always be visible. The entry in the command line can look as follows:
XGedStartInteractionAction /Name:XGedIaFormatGraphic /width:5,5mm /color:4 /visible:1
You want to change the function text and other placed property texts for specific components on a schematic page to French. The entry in the command line can look as follows:
XGedStartInteractionAction /Name:XGedIaFormatSymbol /language:fr_FR
Parameters for the "XGedIaFormatText" interaction
Parameter |
Description |
Values |
---|---|---|
/language:? |
Language (as in the Format tab in the Properties dialog) |
The following values are possible:
|
/height:? |
Font size |
Numeric values in "mm" or in "In" (Inch). With the value "-16002", the "From layer" setting will be applied. |
/color:? |
(Text or line) Color |
The predefined values are:
However, other values can also be specified in the Color selection dialog. Values from 0 to 256 are possible. The values of the colors are displayed in the color selection Tooltip. |
/justification:? |
(Text) Alignment |
The following values are possible:
|
/angle:? |
Angle to the X-axis by which the text should be rotated in the counter-clockwise direction. |
The following values are possible:
Angle specifications are always in degrees. The "°" character need not be specified, but may be. |
/font:? |
Font |
The values for fonts 1-10 can be determined in the company settings: File > Settings > Company > Graphical editing > Fonts. The following values are possible:
|
/visible:? |
Invisible (text or line invisible / visible) |
The following values are possible:
|
/bold:? |
Font style / Bold |
The following values are possible:
|
/italic:? |
Font style / Italic |
The following values are possible:
|
/underline:? |
Font style / Underlined |
The following values are possible:
|
/showtextbox:? |
Draw text box |
Defines whether a text box is to be used (optional). The following values are possible:
|
/setframeactive:? |
Activate alignment box |
The following values are possible:
|
/showframe:? |
Draw alignment box |
The following values are possible:
|
/framewidth:? |
Width of the alignment box |
Numeric values in "mm" or in "In" (Inch) |
/frameheight:? |
Height of the alignment box |
Numeric values in "mm" or in "In" (Inch) |
/adjustframe:? |
Fit to alignment box |
The following values are possible:
|
/sizefromsettings:? |
Size from project setting |
The following values are possible:
|
/leaderline:? |
Activate leader line |
The following values are possible:
|
/donttranslate:? |
Do not translate automatically (as in the Text tab in the Property dialog) |
The following values are possible:
|
/linespacing:? |
Row spacing |
Numeric values. The value "1" corresponds, e.g., to single row spacing, value "2" is double spacing, etc. |
/layer:? |
Layer |
Layer name (e.g. "EPLAN501") |
The following values are to be set for certain texts: Font size: 10 mm, Color: Green, Angle: -90°. In addition an alignment box with the following values is to be shown: Width: 45 mm, Height: 20 mm. The entry in the command line can look as follows:
XGedStartInteractionAction /Name:XGedIaFormatText /height:10mm /color:3 /angle:-90 /setframeactive:1 /showframe:1 /framewidth:45mm /frameheight:20mm
Parameters for the "XMIaInsertMacro" interaction
Parameter |
Description |
Values |
---|---|---|
/filename:? |
Name of the macro to be inserted. If no value is specified for the parameter, a dialog for selecting macros opens. |
|
/variant:? |
Variant of the macro to be inserted |
The following values are possible:
|
/RepresentationType:? |
Representation type of the macro to be inserted |
The following values are possible:
|