Symbol Type
Represents a symbol, that contains a component and all the other information needed to render it
Record fields
| Record Field | Description |
|
|
|
|
Full Usage:
ArrayText
Field type: string option
|
What this symbol draws in place of a number, on an ARRAY COMPONENT's sheet.
- a Join out or Join in: the channel-number EXPRESSION, so a carry chain reads
`Join[i+1]` against `Join[i]` rather than `Join[1]` against `Join[0]`, which is
copy 0's answer and says nothing about which copy feeds which.
- an Output: the sheet's loop variable, so its label reads `SUM.i` - the sheet
gets one SUM port per copy, and this is the one belonging to copy i.
**Display only, and transient.** Nothing may read it for semantics: what a join is
really on is its parameter slot, which lives on the LoadedComponent. That is what
makes it safe for a missed update to be a stale legend rather than a wrong circuit.
Derived by SymbolUpdate.syncArrayText from the sheet's own slots and array settings,
which is the one place that writes it.
Not saved: SymbolInfo is the part of a Symbol that persists, and this is not in it.
It is rebuilt whenever the sheet it belongs to is loaded.
|
|
|
This is the electrical component. When the component is loaded into draw block the position is kept as Pos field in symbol However H & W remain important, as the height and width of the symbol. This is anomalous. It would make sure sense for all geometric info to be in fields on the symbol. However X,Y,H,W are used (to some extent) in non-draw-block Issie code. NB HScale, VScale modify V, H The symbol's component, at the values it is drawn AND saved at. Parameter values are resolved into it by ParameterAnalysis.propagateParameterValues before it gets here, so there is one set of values rather than a displayed set over a stored one.
|
|
Full Usage:
HScale
Field type: float option
|
|
|
|
Full Usage:
InWidth0
Field type: int option
|
|
Full Usage:
InWidth1
Field type: int option
|
|
Full Usage:
InWidths
Field type: int option list option
|
|
Full Usage:
IsClocked
Field type: bool
|
|
|
|
Full Usage:
LabelHasDefaultPos
Field type: bool
|
|
|
|
Full Usage:
Moving
Field type: bool
|
|
|
|
|
|
|
|
These maps contain the order (on and edge), and the symbol edge, of each port. Edge positions are known from the component XYPos and H (height), W (width). Ports are located as fixed equidistant positions along each component edge dependent on number of ports. Therefore port position can be calculated from these maps and XYPos, H, W.
|
|
|
|
Full Usage:
ReversedInputPorts
Field type: bool option
|
|
|
|
Full Usage:
VScale
Field type: float option
|