Skip to content

Adds Harness Records To Format Document #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions format.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ That record is directly followed by multiple RECORD=16 entries which define the
* `|OWNERINDEX=1234` ([integer]): Link to parent element. Value directly references zero-oriented implicit number of record in SchDoc file. Use dump.py to see these numbers.
* `|TEXTCOLOR=128|TEXTFONTID=1|TEXTSTYLE=Full|INDEXINSHEET`
* `|HARNESSTYPE` (ASCII): Name of the Harness type. Omitted if normal signal.
* `|SIDE` ([integer]): Optional. Indicates on which side of the sheet symbol the entry resides. 0 (or ommitted): Left, 1: Right, 2: Top, 3: Bottom.
* `|SIDE` ([integer]): Optional. Indicates on which side of the sheet symbol the entry resides. 0 (or omitted): Left, 1: Right, 2: Top, 3: Bottom.
* `|STYLE` ([integer]): Usually 2 or 3. Corresponds to "Style" ListBox in "Sheet Entry" dialog.
* `|IOTYPE` ([integer]): Optional. Indicates signal flow direction. 0 (or omitted): Undefined, 1: Output, 2: Input, 3: Bidirectional.

Expand Down Expand Up @@ -763,9 +763,23 @@ Child of RECORD=45 ([Implementation](#implementation))
### 215–218 ###
Children of [Sheet](#sheet), seen in the Additional stream

`|RECORD=215`: Similar to [Sheet symbol](#sheet-symbol)
`|RECORD=215`: Harness connector - Similar to [Sheet symbol](#sheet-symbol)
* `|INDEXINSHEET`: [Integer]
* `|OWNERPARTID=-1`
* `|LOCATION.X|LOCATION.Y`: Top left corner (not bottom left like
other objects!)
* `|XSIZE|YSIZE`: Positive [integers](#integers) of width and height
* `|LINEWIDTH`: Positive [integers](#integers)
* `|PRIMARYCONNECTIONPOSITION`: Positive [integers](#integers) where the signal harness connects to the harness connector. Position is relative from top-left coordinate
* `|COLOR|AREACOLOR|UNIQUEID`

`|RECORD=216`
`|RECORD=216`: Harness pin entry inside a harness connector - Similar to [Sheet entry](#sheet-entry)
* `|DISTANCEFROMTOP` ([integer]): Distance from top-left coordinate. If SIDE==0/1 Y-Coordinate, else X-Coordinate in x10 units. DISTANCEFROMTOP=10 ==> 100 in Altium.
* `|DISTANCEFROMTOP_FRAC1` ([integer]): Fractional distance from top-left coordinate. If SIDE==0/1 Y-Coordinate, else X-Coordinate in x0.00001 units. DISTANCEFROMTOP_FRAC1=500000 ==> 5 in Altium.
* `|NAME` (ASCII): Name of the harness pin entry.
* `|OWNERPARTID=-1|INDEXINSHEET|OWNERINDEXADDITIONALLIST=T|AREACOLOR|COLOR`
* `|TEXTCOLOR=128|TEXTFONTID=1|TEXTSTYLE=Full`
* `|SIDE` ([integer]): Optional. Indicates on which side of the sheet symbol the entry resides. 0 (or omitted): Left, 1: Right, 2: Top, 3: Bottom.

`|RECORD=217`: Similar to [Sheet name and file name](
#sheet-name-and-file-name), also with `|OWNERINDEXADDITIONALLIST=T`
Expand Down