Skip to content

Wire

IRI: https://w3id.org/altium/cdm/design/Wire

API: DesignDataLine_Preview · AD SDK: EDP.ILine, SCH.ISch_Wire

A wire drawn on a schematic sheet, part of one net.

In the product

No product documentation linked yet.

Diagram

---
  config:
    layout: elk
    class:
      hideEmptyMembersBox: true
---
 classDiagram
    direction LR


  class des_Wire["Wire"]






      style des_Wire fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:2.5px

    click des_Wire href "../../classes/des_Wire/"






          des_Wire : unique id








      des_Wire --> "0..1" des_SchematicSheet : sheet
      click des_SchematicSheet href "../../classes/des_SchematicSheet/"


  class des_SchematicSheet["Schematic Sheet"]






      style des_SchematicSheet fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px










      des_Wire --> "0..1" des_Point2D : location
      click des_Point2D href "../../classes/des_Point2D/"


  class des_Point2D["Point 2D"]






      style des_Point2D fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px










      des_Wire --> "0..1" des_Rectangle2D : bounding box
      click des_Rectangle2D href "../../classes/des_Rectangle2D/"


  class des_Rectangle2D["Rectangle 2D"]






      style des_Rectangle2D fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px










      des_Wire --> "*" des_Point2D : vertices
      click des_Point2D href "../../classes/des_Point2D/"


  class des_Point2D["Point 2D"]






      style des_Point2D fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px












  class des_Net["Net"]






      style des_Net fill:#93c47d,stroke:#607f51,color:#14181f,stroke-width:1px

          des_Net --> "*" des_Wire: wires 
          click des_Net href "../../classes/des_Net/"



Comments

[interpretation] DesignDataNet_Preview.lines is read as the wires of the net: the AD SDK equivalent, INet.DM_Lines, returns ILine, described as a line object on a schematic document. The Platform API serves only location and bounding rectangle; vertices are available from the AD SDK (ISch_Wire inherits Vertex / VerticesCount from ISch_Polygon).

Inheritance

Fields

Name Cardinality Type Description Inheritance
unique id 0..1 string The unique identifier of the wire. direct
sheet 0..1 Schematic Sheet The sheet the wire is drawn on. direct
location 0..1 Point 2D The reference location of the wire. direct
bounding box 0..1 Rectangle 2D The bounding box of the wire. direct
vertices * Point 2D The vertices of the wire, in order. direct

Comments