All special "reserved" Attributes start with a leading space character in their names. In contrast to normal, general purpose attributes, whose string values are usually displayed in the GUI or made available to other parts of the application through the GUI API, the Reserved Attributes may change the rendering of its object. Some may depend on the current EEvision Settings (initialized by eev.conf).
special attribute |
supported at object type |
used by |
✔ | attribute value description |
⧉ | attribute value example |
---|---|---|---|---|---|---|
color | Wire | EEV | ✓ | defines one, two or three colors to be displayed in a small rectangular box at the wire - depending on the value of config.wireMark in the Settings. The color values are stored as space-separated fields in the same attribute (actually one color, a pair or a triplet of colors). | pink #ffa500 blue | |
color | Component | EEV | ✓ | defines the component's or connector's background color, or background and foreground color (if the value is a pair of colors). | #8080ff | |
color | Connector | EEV | ✓ | #8080ff red | ||
imagedsp | ECU or UNDEF Component | EEV | defines the image to be displayed inside the component body. May have comma-separated fields. See imagedsp syntax below. | sensor.svg | ||
symdef | SVG Component | EEV | defines the symbol shape to be displayed as component body. This symbol shape defines label locations, body size and usually includes a centered SVG image. Formatted as Tcl list. See symdef syntax below. | DEF fpath 0 0 0 80 97 80 97 0 0 0 linewidth 0 imagedsp Relais.svg -ul 0 0 97 80 attrdsp @name -lc 74 -2 12 | ||
SVG Cavity | defines the pin-related parts of the symbol shape, which is the pin location and any pin label location. For backward compatibility this is optional, if this attribute is not given, then all data is expected to be stored in the SVG component's symdef attribute. Technically, EEvision will concatenate the body's symdef and all cavities' symdef into one description; however, the pinnames (the second word in the symdef values) will be replaced by any internal name needed to solve potential name conflict issues gracefully. |
pin 12 left -loc 18 62 18 62 pinattrdsp @name -ul 13 68 10 |
||||
symbol | SVG Component | EEV | defines the symbol shape by name, referring to a symbol definition by name in an external symbol file (obsolete, use “ symdef” instead) | Relais | ||
ecfile | Cavity | end circuit |
defines the end-circuit file to be optionally displayed related to a certain Cavity. Formatted as comma-separated fields. See ecfile syntax below. | G51,1,IN1,left | ||
index | Edb root | file select |
defines the names of root attributes that are optionally displayed in the fileselect.html page. Formatted as tab-separated fields. See index syntax below. | desc author vers | ||
href | any | EEV info |
defines an HTML hyperlink to be displayed in the info window for the object. As an exception to EDB standards, multiple (duplicate) " href" attribute are supported. Formatted as comma-separated fields. See href syntax below. | ⧉ | Link, https://www.altair.com, Altair | |
image | any | EEV info |
defines an HTML image to be displayed in the info window for the object. Formatted as comma-separated fields. See image syntax below. | ⧉ | Image, ecu.png, 320, 240 | |
video | any | EEV info |
defines an HTML video to be displayed in the info window for the object. Formatted as comma-separated fields. See video syntax below. | ⧉ | Video, ecu.mp4 ,320, 240 | |
srcref | any | EEV info |
defines references to the original source file as automatically created by an EDB converter tool (currently only created by edml2edb). See srcref syntax below. | ⧉ |
at118m.edml:5,10 more.edml:3 |
|
expr | CONFIG Module | 100% filtering | ✓ | defines a Boolean expression to be evaluated at EEvision startup with 100% filtering (defined by URL parameters fv). See expr syntax below. | K12 & (S33P | TK > 12) | |
smartstop | Cavity, Connector, Component | EEV extract | defines stop-objects for the smart extraction by the Extract button or by the ExtractOne API function if the "smart" argument is 1 or 2. | |||
diff length weight |
internally created and used by the diff and docgen plugins. They are considered as experimental. | ⧉ |
"␣ecfile"
attribute is used by the endcircuit
plugin to display the inner circuitry of a component. A detailed
description of the syntax of the "␣ecfile"
attribute can be found in the
documentation of the
endcircuit plugin.
eevision.html
. For the
currently selected data-set and when “Show details” is
activated, the values of those root attributes are shown whose names
are listed in the value string of the "␣index"
attribute.
The list of attribute names needs to be separated by tab characters, not spaces!
"␣href"
attribute is used by the EEvision GUI
to display links to other web pages in the info and balloon window
(see Figure 1).
For this, the value of the attribute needs to be a list of three
comma-separated entries, e.g.,
"␣href" = "Webpage,https://www.altair.com,Altair Engineering Inc."
.
"␣href"
can be
created.
The Figure on the right side displays
EEvision's balloon window showing – apart from the
normal attributes Alias
, CompID
,
Description
, Harness
, and
PartNumber
– an image, a video, and a link.
They were created using the reserved attributes
"␣image"
, "␣video"
,
and "␣href"
.
"␣image"
attribute is used to display images
in the info and balloon window (see Figure 1).
The value of the "␣image"
attribute is a
comma-separated list of four entries:
auto
”
if the width should be determined automatically.auto
”
if the height should be determined automatically.auto
”,
the image is scaled preserving its aspect ratio. If both dimensions
are “auto
” the natural size of the image
is used as long as its width does not exceed half of the width
of view-port.
"␣image" = "FZM,fzm_plug.png,300,auto"
"␣video"
attribute to insert a
video into the attribute table of an object's info or balloon window
(see Figure 1). The syntax of the
"␣video"
attribute is the same as the syntax of the
image
attribute.
"␣video" = "FZM,fzm_video.mp4,300,auto"
input variables | Boolean expression A12 & B7 | !A3 |
||
---|---|---|---|
⇒ true | |||
fv=A3 | ⇒ false | ||
fv=B7 | ⇒ true | ||
fv=B7 | fv=A3 | ⇒ false | |
fv=A12 | ⇒ true | ||
fv=A12 | fv=A3 | ⇒ false | |
fv=A12 | fv=B7 | ⇒ true | |
fv=A12 | fv=B7 | fv=A3 | ⇒ true |
input variables | Boolean expression A12 & B7 < 42 | !A3 |
||
---|---|---|---|
fv=A12 | fv=B7=150 | fv=A3 | ⇒ false (true & false | !true) |
fv=A12 | fv=B7=40 | fv=A3 | ⇒ true (true & true | !true) |
fv=A12 | fv=A3 | ⇒ ditto, B7 is not set (ergo 0) |