KiCAD pcbnew scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.RATSNEST_ITEM Class Reference
Inheritance diagram for pcbnew.RATSNEST_ITEM:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def GetNet (self)
 
def SetNet (self, aNetCode)
 
def IsVisible (self)
 
def IsActive (self)
 
def IsLocal (self)
 
def Draw (self, panel, DC, aDrawMode, offset)
 

Public Attributes

 this
 

Static Public Attributes

tuple m_Status = _swig_property(_pcbnew.RATSNEST_ITEM_m_Status_get, _pcbnew.RATSNEST_ITEM_m_Status_set)
 
tuple m_PadStart = _swig_property(_pcbnew.RATSNEST_ITEM_m_PadStart_get, _pcbnew.RATSNEST_ITEM_m_PadStart_set)
 
tuple m_PadEnd = _swig_property(_pcbnew.RATSNEST_ITEM_m_PadEnd_get, _pcbnew.RATSNEST_ITEM_m_PadEnd_set)
 
tuple m_Length = _swig_property(_pcbnew.RATSNEST_ITEM_m_Length_get, _pcbnew.RATSNEST_ITEM_m_Length_set)
 

Detailed Description

Class RATSNEST_ITEM describes a ratsnest line: a straight line
connecting 2 pads.

C++ includes: class_netinfo.h 

Definition at line 27728 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.RATSNEST_ITEM.__init__ (   self)
__init__(RATSNEST_ITEM self) -> RATSNEST_ITEM

RATSNEST_ITEM::RATSNEST_ITEM() 

Definition at line 27759 of file pcbnew.py.

Member Function Documentation

def pcbnew.RATSNEST_ITEM.Draw (   self,
  panel,
  DC,
  aDrawMode,
  offset 
)
Draw(RATSNEST_ITEM self, EDA_DRAW_PANEL * panel, wxDC * DC, GR_DRAWMODE aDrawMode, wxPoint offset)

void
RATSNEST_ITEM::Draw(EDA_DRAW_PANEL *panel, wxDC *DC, GR_DRAWMODE
aDrawMode, const wxPoint &offset)

Function Draw.

Function Draw Draws a line (a ratsnest) from the starting pad to the
ending pad. 

Definition at line 27825 of file pcbnew.py.

def pcbnew.RATSNEST_ITEM.GetNet (   self)
GetNet(RATSNEST_ITEM self) -> int

int
RATSNEST_ITEM::GetNet() const

Function GetNet.

int - the net code. 

Definition at line 27771 of file pcbnew.py.

def pcbnew.RATSNEST_ITEM.IsActive (   self)
IsActive(RATSNEST_ITEM self) -> bool

bool
RATSNEST_ITEM::IsActive() 

Definition at line 27805 of file pcbnew.py.

def pcbnew.RATSNEST_ITEM.IsLocal (   self)
IsLocal(RATSNEST_ITEM self) -> bool

bool
RATSNEST_ITEM::IsLocal() 

Definition at line 27815 of file pcbnew.py.

def pcbnew.RATSNEST_ITEM.IsVisible (   self)
IsVisible(RATSNEST_ITEM self) -> bool

bool
RATSNEST_ITEM::IsVisible() 

Definition at line 27795 of file pcbnew.py.

def pcbnew.RATSNEST_ITEM.SetNet (   self,
  aNetCode 
)
SetNet(RATSNEST_ITEM self, int aNetCode)

void
RATSNEST_ITEM::SetNet(int aNetCode) 

Definition at line 27785 of file pcbnew.py.

Member Data Documentation

tuple pcbnew.RATSNEST_ITEM.m_Length = _swig_property(_pcbnew.RATSNEST_ITEM_m_Length_get, _pcbnew.RATSNEST_ITEM_m_Length_set)
static

Definition at line 27757 of file pcbnew.py.

tuple pcbnew.RATSNEST_ITEM.m_PadEnd = _swig_property(_pcbnew.RATSNEST_ITEM_m_PadEnd_get, _pcbnew.RATSNEST_ITEM_m_PadEnd_set)
static

Definition at line 27753 of file pcbnew.py.

tuple pcbnew.RATSNEST_ITEM.m_PadStart = _swig_property(_pcbnew.RATSNEST_ITEM_m_PadStart_get, _pcbnew.RATSNEST_ITEM_m_PadStart_set)
static

Definition at line 27749 of file pcbnew.py.

tuple pcbnew.RATSNEST_ITEM.m_Status = _swig_property(_pcbnew.RATSNEST_ITEM_m_Status_get, _pcbnew.RATSNEST_ITEM_m_Status_set)
static

Definition at line 27745 of file pcbnew.py.

pcbnew.RATSNEST_ITEM.this

Definition at line 27769 of file pcbnew.py.


The documentation for this class was generated from the following file: