KiCad Pcbnew Python Scripting
Public Member Functions | Static Public Member Functions | Properties | List of all members
pcbnew.NETINFO_ITEM Class Reference
Inheritance diagram for pcbnew.NETINFO_ITEM:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, *args)
 
def SetNetClass (self, aNetClass)
 
def GetNetClass (self)
 
def GetNetClassSlow (self)
 
def GetNetCode (self)
 
def SetNetCode (self, aNetCode)
 
def GetNetname (self)
 
def GetShortNetname (self)
 
def GetUnescapedShortNetname (self)
 
def HasAutoGeneratedNetname (self)
 
def SetNetname (self, aNewName)
 
def IsCurrent (self)
 
def SetIsCurrent (self, isCurrent)
 
def Clear (self)
 
def GetParent (self)
 
def GetNetClassName (self)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def __init__ (self, *args, **kwargs)
 
def SetParentGroup (self, aGroup)
 
def GetParentGroup (self)
 
def GetX (self)
 
def GetY (self)
 
def GetCenter (self)
 
def SetX (self, aX)
 
def SetY (self, aY)
 
def IsConnected (self)
 
def IsOnCopperLayer (self)
 
def HasHole (self)
 
def IsTented (self)
 
def GetEffectiveShape (self, *args)
 
def GetEffectiveHoleShape (self)
 
def GetParent (self)
 
def GetParentFootprint (self)
 
def HasLineStroke (self)
 
def GetStroke (self)
 
def SetStroke (self, aStroke)
 
def GetLayer (self)
 
def GetLayerSet (self)
 
def SetLayerSet (self, aLayers)
 
def SetLayer (self, aLayer)
 
def Duplicate (self)
 
def SwapItemData (self, aImage)
 
def IsOnLayer (self, aLayer)
 
def IsKnockout (self)
 
def SetIsKnockout (self, aKnockout)
 
def IsLocked (self)
 
def SetLocked (self, aLocked)
 
def DeleteStructure (self)
 
def Move (self, aMoveVector)
 
def Rotate (self, aRotCentre, aAngle)
 
def Flip (self, aCentre, aFlipLeftRight)
 
def GetBoard (self, *args)
 
def GetLayerName (self)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
 
def Cast (self)
 
def Duplicate (self)
 
def SetPos (self, p)
 
def SetStartEnd (self, start, end)
 
- Public Member Functions inherited from pcbnew.EDA_ITEM
def __init__ (self, *args, **kwargs)
 
def Type (self)
 
def GetParent (self)
 
def SetParent (self, aParent)
 
def IsModified (self)
 
def IsNew (self)
 
def IsMoving (self)
 
def IsSelected (self)
 
def IsEntered (self)
 
def IsBrightened (self)
 
def IsRollover (self)
 
def SetSelected (self)
 
def SetBrightened (self)
 
def ClearSelected (self)
 
def ClearBrightened (self)
 
def SetModified (self)
 
def GetState (self, type)
 
def SetState (self, type, state)
 
def GetStatus (self)
 
def SetStatus (self, aStatus)
 
def SetFlags (self, aMask)
 
def XorFlags (self, aMask)
 
def ClearFlags (self, *args)
 
def GetFlags (self)
 
def HasFlag (self, aFlag)
 
def GetEditFlags (self)
 
def ClearTempFlags (self)
 
def ClearEditFlags (self)
 
def RenderAsBitmap (self, aWorldScale)
 
def SetIsShownAsBitmap (self, aBitmap)
 
def IsShownAsBitmap (self)
 
def IsType (self, aScanTypes)
 
def SetForceVisible (self, aEnable)
 
def IsForceVisible (self)
 
def GetMsgPanelInfo (self, aFrame, aList)
 
def GetFriendlyName (self)
 
def HitTest (self, *args)
 
def GetBoundingBox (self)
 
def GetPosition (self)
 
def SetPosition (self, aPos)
 
def GetFocusPosition (self)
 
def GetSortPosition (self)
 
def Clone (self)
 
def Visit (self, inspector, testData, aScanTypes)
 
def GetClass (self)
 
def GetTypeDesc (self)
 
def GetItemDescription (self, aUnitsProvider)
 
def GetMenuImage (self)
 
def Matches (self, aSearchData, aAuxData)
 
def Replace (self, *args)
 
def IsReplaceable (self)
 
def __lt__ (self, aItem)
 
def ViewBBox (self)
 
def ViewGetLayers (self, aLayers, aCount)
 

Static Public Member Functions

def ClassOf (aItem)
 
- Static Public Member Functions inherited from pcbnew.EDA_ITEM
def Sort (aLeft, aRight)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.BOARD_ITEM
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.EDA_ITEM
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=)
 

Detailed Description

Proxy of C++ NETINFO_ITEM class.

Definition at line 16291 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.NETINFO_ITEM.__init__ (   self,
args 
)
__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName=wxEmptyString, int aNetCode=-1) -> NETINFO_ITEM

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 16297 of file pcbnew.py.

Member Function Documentation

◆ ClassOf()

def pcbnew.NETINFO_ITEM.ClassOf (   aItem)
static
ClassOf(EDA_ITEM aItem) -> bool

Definition at line 16303 of file pcbnew.py.

◆ Clear()

def pcbnew.NETINFO_ITEM.Clear (   self)
Clear(NETINFO_ITEM self)

Definition at line 16355 of file pcbnew.py.

◆ GetNetClass()

def pcbnew.NETINFO_ITEM.GetNetClass (   self)
GetNetClass(NETINFO_ITEM self) -> NETCLASS

Definition at line 16311 of file pcbnew.py.

◆ GetNetClassName()

def pcbnew.NETINFO_ITEM.GetNetClassName (   self)

Definition at line 16363 of file pcbnew.py.

◆ GetNetClassSlow()

def pcbnew.NETINFO_ITEM.GetNetClassSlow (   self)
GetNetClassSlow(NETINFO_ITEM self) -> std::shared_ptr< NETCLASS >

Definition at line 16315 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetNetCode()

def pcbnew.NETINFO_ITEM.GetNetCode (   self)
GetNetCode(NETINFO_ITEM self) -> int

Definition at line 16319 of file pcbnew.py.

◆ GetNetname()

def pcbnew.NETINFO_ITEM.GetNetname (   self)
GetNetname(NETINFO_ITEM self) -> wxString

Definition at line 16327 of file pcbnew.py.

◆ GetParent()

def pcbnew.NETINFO_ITEM.GetParent (   self)
GetParent(NETINFO_ITEM self) -> BOARD

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 16359 of file pcbnew.py.

◆ GetShortNetname()

def pcbnew.NETINFO_ITEM.GetShortNetname (   self)
GetShortNetname(NETINFO_ITEM self) -> wxString

Definition at line 16331 of file pcbnew.py.

◆ GetUnescapedShortNetname()

def pcbnew.NETINFO_ITEM.GetUnescapedShortNetname (   self)
GetUnescapedShortNetname(NETINFO_ITEM self) -> wxString

Definition at line 16335 of file pcbnew.py.

◆ HasAutoGeneratedNetname()

def pcbnew.NETINFO_ITEM.HasAutoGeneratedNetname (   self)
HasAutoGeneratedNetname(NETINFO_ITEM self) -> bool

Definition at line 16339 of file pcbnew.py.

◆ IsCurrent()

def pcbnew.NETINFO_ITEM.IsCurrent (   self)
IsCurrent(NETINFO_ITEM self) -> bool

Definition at line 16347 of file pcbnew.py.

◆ SetIsCurrent()

def pcbnew.NETINFO_ITEM.SetIsCurrent (   self,
  isCurrent 
)
SetIsCurrent(NETINFO_ITEM self, bool isCurrent)

Definition at line 16351 of file pcbnew.py.

◆ SetNetClass()

def pcbnew.NETINFO_ITEM.SetNetClass (   self,
  aNetClass 
)
SetNetClass(NETINFO_ITEM self, std::shared_ptr< NETCLASS > const & aNetClass)

Definition at line 16307 of file pcbnew.py.

◆ SetNetCode()

def pcbnew.NETINFO_ITEM.SetNetCode (   self,
  aNetCode 
)
SetNetCode(NETINFO_ITEM self, int aNetCode)

Definition at line 16323 of file pcbnew.py.

◆ SetNetname()

def pcbnew.NETINFO_ITEM.SetNetname (   self,
  aNewName 
)
SetNetname(NETINFO_ITEM self, wxString aNewName)

Definition at line 16343 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.NETINFO_ITEM.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 16294 of file pcbnew.py.


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