Diptrace schematics ascii file

For general questions regarding the software and for all questions that do not fit in any of the threads above.
Post Reply
Message
Author
danielb987
Posts: 19
Joined: 23 Feb 2017, 16:01

Diptrace schematics ascii file

#1 Post by danielb987 » 13 May 2019, 19:34

I'm working on an import/export tool for Diptrace ascii files and understands much of the Diptrace ascii file format. But I have trouble understanding the Net structure.

Code: Select all

  (Nets
    (Net "GND"
      (Enabled "Y")
      (UniteByName "N")
      (ConnectPinByName "N")
      (Locked "N")
      (ActiveLine 0)
      (ActivePoint 0)
      (Number 0)
      (Width -1)
      (Clearance -1)
      (NetClass 0)
      (CustomColor "N")
      (WireColor 0)
      (Global "N")
      (Parts
        (pt 0 0)
      )
      (Lines
        (Line
          (Connect1 0)
          (Connect2 -1)
          (ConnectL1 0)
          (ConnectL2 -1)
          (ConnectB1 0)
          (ConnectB2 -1)
          (Page -1)
          (ConnectMode1 0)
          (ConnectMode2 -1)
          (NetNumber 0)
          (Region 0)
          (Number 0)
          (Hidden "N")
          (Points
            (pt 0 0 0)
            (pt 0 0 0)
          )
          (Selected "N")
          (Group -1)
          (CanUnhide "N")
          (Arrows 0)
        )
      )
    )
  )
I understand some of it, but I have trouble understanding these items:
* ActiveLine
* ActivePoint

and in the "Line" section:
* Connect1
* Connect2
* ConnectL1
* ConnectL2
* ConnectB1
* ConnectB2
* Page
* ConnectMode1
* ConnectMode2

Thanks in advance.

Best regards
Daniel

Post Reply