KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
pcbnew.EDA_ITEM Class Reference
Inheritance diagram for pcbnew.EDA_ITEM:

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 Type (self)
 
 GetParent (self)
 
 SetParent (self, aParent)
 
 SetParentGroup (self, aGroup)
 
 GetParentGroup (self)
 
 GetParentGroupId (self)
 
 IsLocked (self)
 
 SetLocked (self, aLocked)
 
 IsModified (self)
 
 IsNew (self)
 
 IsMoving (self)
 
 IsSelected (self)
 
 IsEntered (self)
 
 IsBrightened (self)
 
 IsRollover (self)
 
 SetIsRollover (self, aIsRollover)
 
 SetSelected (self)
 
 SetBrightened (self)
 
 ClearSelected (self)
 
 ClearBrightened (self)
 
 SetModified (self)
 
 SetFlags (self, aMask)
 
 XorFlags (self, aMask)
 
 ClearFlags (self, *args)
 
 GetFlags (self)
 
 HasFlag (self, aFlag)
 
 GetEditFlags (self)
 
 ClearEditFlags (self)
 
 GetTempFlags (self)
 
 ClearTempFlags (self)
 
 RenderAsBitmap (self, aWorldScale)
 
 SetIsShownAsBitmap (self, aBitmap)
 
 IsShownAsBitmap (self)
 
 IsType (self, aScanTypes)
 
 SetForceVisible (self, aEnable)
 
 IsForceVisible (self)
 
 GetMsgPanelInfo (self, aFrame, aList)
 
 GetFriendlyName (self)
 
 HitTest (self, *args)
 
 GetBoundingBox (self)
 
 GetPosition (self)
 
 SetPosition (self, aPos)
 
 GetFocusPosition (self)
 
 GetSortPosition (self)
 
 Clone (self)
 
 Visit (self, inspector, testData, aScanTypes)
 
 GetTypeDesc (self)
 
 GetItemDescription (self, aUnitsProvider, aFull)
 
 GetMenuImage (self)
 
 Matches (self, aSearchData, aAuxData)
 
 Replace (self, *args)
 
 IsReplaceable (self)
 
 __lt__ (self, aItem)
 
 ViewBBox (self)
 
 ViewGetLayers (self)
 
 GetEmbeddedFiles (self)
 
 GetEmbeddedFonts (self)
 
 PyGetClass (self)
 
 GetClass (self)
 

Static Public Member Functions

 Sort (aLeft, aRight)
 

Properties

 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++ EDA_ITEM class.

Definition at line 1443 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.EDA_ITEM.__init__ ( self,
* args,
** kwargs )

Definition at line 1448 of file pcbnew.py.

Member Function Documentation

◆ __lt__()

pcbnew.EDA_ITEM.__lt__ ( self,
aItem )
__lt__(EDA_ITEM self, EDA_ITEM aItem) -> bool

Definition at line 1668 of file pcbnew.py.

◆ ClearBrightened()

pcbnew.EDA_ITEM.ClearBrightened ( self)
ClearBrightened(EDA_ITEM self)

Definition at line 1529 of file pcbnew.py.

◆ ClearEditFlags()

pcbnew.EDA_ITEM.ClearEditFlags ( self)
ClearEditFlags(EDA_ITEM self)

Definition at line 1561 of file pcbnew.py.

◆ ClearFlags()

pcbnew.EDA_ITEM.ClearFlags ( self,
* args )
ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)

Definition at line 1545 of file pcbnew.py.

◆ ClearSelected()

pcbnew.EDA_ITEM.ClearSelected ( self)
ClearSelected(EDA_ITEM self)

Definition at line 1525 of file pcbnew.py.

◆ ClearTempFlags()

pcbnew.EDA_ITEM.ClearTempFlags ( self)
ClearTempFlags(EDA_ITEM self)

Definition at line 1569 of file pcbnew.py.

◆ Clone()

pcbnew.EDA_ITEM.Clone ( self)
Clone(EDA_ITEM self) -> EDA_ITEM

Definition at line 1633 of file pcbnew.py.

◆ GetBoundingBox()

pcbnew.EDA_ITEM.GetBoundingBox ( self)
GetBoundingBox(EDA_ITEM self) -> BOX2I

Reimplemented in pcbnew.FOOTPRINT, pcbnew.PAD, and pcbnew.PCB_VIA.

Definition at line 1613 of file pcbnew.py.

◆ GetClass()

◆ GetEditFlags()

pcbnew.EDA_ITEM.GetEditFlags ( self)
GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS

Definition at line 1557 of file pcbnew.py.

◆ GetEmbeddedFiles()

pcbnew.EDA_ITEM.GetEmbeddedFiles ( self)
GetEmbeddedFiles(EDA_ITEM self) -> EMBEDDED_FILES *

Reimplemented in pcbnew.BOARD, and pcbnew.FOOTPRINT.

Definition at line 1685 of file pcbnew.py.

◆ GetEmbeddedFonts()

pcbnew.EDA_ITEM.GetEmbeddedFonts ( self)
GetEmbeddedFonts(EDA_ITEM self) -> std::vector< wxString,std::allocator< wxString > > const *

Definition at line 1689 of file pcbnew.py.

◆ GetFlags()

pcbnew.EDA_ITEM.GetFlags ( self)
GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS

Definition at line 1549 of file pcbnew.py.

◆ GetFocusPosition()

pcbnew.EDA_ITEM.GetFocusPosition ( self)
GetFocusPosition(EDA_ITEM self) -> VECTOR2I

Definition at line 1625 of file pcbnew.py.

◆ GetFriendlyName()

pcbnew.EDA_ITEM.GetFriendlyName ( self)
GetFriendlyName(EDA_ITEM self) -> wxString

Definition at line 1601 of file pcbnew.py.

◆ GetItemDescription()

pcbnew.EDA_ITEM.GetItemDescription ( self,
aUnitsProvider,
aFull )
GetItemDescription(EDA_ITEM self, UNITS_PROVIDER aUnitsProvider, bool aFull) -> wxString

Definition at line 1645 of file pcbnew.py.

◆ GetMenuImage()

pcbnew.EDA_ITEM.GetMenuImage ( self)
GetMenuImage(EDA_ITEM self) -> BITMAPS

Definition at line 1649 of file pcbnew.py.

◆ GetMsgPanelInfo()

pcbnew.EDA_ITEM.GetMsgPanelInfo ( self,
aFrame,
aList )
GetMsgPanelInfo(EDA_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)

Definition at line 1597 of file pcbnew.py.

◆ GetParent()

pcbnew.EDA_ITEM.GetParent ( self)
GetParent(EDA_ITEM self) -> EDA_ITEM

Reimplemented in pcbnew.BOARD_ITEM, and pcbnew.NETINFO_ITEM.

Definition at line 1457 of file pcbnew.py.

◆ GetParentGroup()

pcbnew.EDA_ITEM.GetParentGroup ( self)
GetParentGroup(EDA_ITEM self) -> EDA_GROUP

Definition at line 1469 of file pcbnew.py.

◆ GetParentGroupId()

pcbnew.EDA_ITEM.GetParentGroupId ( self)
GetParentGroupId(EDA_ITEM self) -> KIID

Definition at line 1473 of file pcbnew.py.

◆ GetPosition()

pcbnew.EDA_ITEM.GetPosition ( self)
GetPosition(EDA_ITEM self) -> VECTOR2I

Definition at line 1617 of file pcbnew.py.

◆ GetSortPosition()

pcbnew.EDA_ITEM.GetSortPosition ( self)
GetSortPosition(EDA_ITEM self) -> VECTOR2I

Definition at line 1629 of file pcbnew.py.

◆ GetTempFlags()

pcbnew.EDA_ITEM.GetTempFlags ( self)
GetTempFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS

Definition at line 1565 of file pcbnew.py.

◆ GetTypeDesc()

pcbnew.EDA_ITEM.GetTypeDesc ( self)
GetTypeDesc(EDA_ITEM self) -> wxString

Definition at line 1641 of file pcbnew.py.

◆ HasFlag()

pcbnew.EDA_ITEM.HasFlag ( self,
aFlag )
HasFlag(EDA_ITEM self, EDA_ITEM_FLAGS aFlag) -> bool

Definition at line 1553 of file pcbnew.py.

◆ HitTest()

pcbnew.EDA_ITEM.HitTest ( self,
* args )
    HitTest(EDA_ITEM self, VECTOR2I aPosition, int aAccuracy=0) -> bool
    HitTest(EDA_ITEM self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
    HitTest(EDA_ITEM self, SHAPE_LINE_CHAIN aPoly, bool aContained) -> bool

Reimplemented in pcbnew.FOOTPRINT, pcbnew.PAD, pcbnew.PCB_ARC, pcbnew.PCB_DIMENSION_BASE, pcbnew.PCB_GROUP, pcbnew.PCB_MARKER, pcbnew.PCB_REFERENCE_IMAGE, pcbnew.PCB_SHAPE, pcbnew.PCB_TABLE, pcbnew.PCB_TARGET, pcbnew.PCB_TEXT, pcbnew.PCB_TEXTBOX, pcbnew.PCB_TRACK, pcbnew.PCB_VIA, and pcbnew.ZONE.

Definition at line 1605 of file pcbnew.py.

◆ IsBrightened()

pcbnew.EDA_ITEM.IsBrightened ( self)
IsBrightened(EDA_ITEM self) -> bool

Definition at line 1505 of file pcbnew.py.

◆ IsEntered()

pcbnew.EDA_ITEM.IsEntered ( self)
IsEntered(EDA_ITEM self) -> bool

Definition at line 1501 of file pcbnew.py.

◆ IsForceVisible()

pcbnew.EDA_ITEM.IsForceVisible ( self)
IsForceVisible(EDA_ITEM self) -> bool

Definition at line 1593 of file pcbnew.py.

◆ IsLocked()

pcbnew.EDA_ITEM.IsLocked ( self)
IsLocked(EDA_ITEM self) -> bool

Definition at line 1477 of file pcbnew.py.

◆ IsModified()

pcbnew.EDA_ITEM.IsModified ( self)
IsModified(EDA_ITEM self) -> bool

Definition at line 1485 of file pcbnew.py.

◆ IsMoving()

pcbnew.EDA_ITEM.IsMoving ( self)
IsMoving(EDA_ITEM self) -> bool

Definition at line 1493 of file pcbnew.py.

◆ IsNew()

pcbnew.EDA_ITEM.IsNew ( self)
IsNew(EDA_ITEM self) -> bool

Definition at line 1489 of file pcbnew.py.

◆ IsReplaceable()

pcbnew.EDA_ITEM.IsReplaceable ( self)
IsReplaceable(EDA_ITEM self) -> bool

Definition at line 1664 of file pcbnew.py.

◆ IsRollover()

pcbnew.EDA_ITEM.IsRollover ( self)
IsRollover(EDA_ITEM self) -> bool

Definition at line 1509 of file pcbnew.py.

◆ IsSelected()

pcbnew.EDA_ITEM.IsSelected ( self)
IsSelected(EDA_ITEM self) -> bool

Definition at line 1497 of file pcbnew.py.

◆ IsShownAsBitmap()

pcbnew.EDA_ITEM.IsShownAsBitmap ( self)
IsShownAsBitmap(EDA_ITEM self) -> bool

Definition at line 1581 of file pcbnew.py.

◆ IsType()

pcbnew.EDA_ITEM.IsType ( self,
aScanTypes )
IsType(EDA_ITEM self, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> bool

Definition at line 1585 of file pcbnew.py.

◆ Matches()

pcbnew.EDA_ITEM.Matches ( self,
aSearchData,
aAuxData )
Matches(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData) -> bool

Definition at line 1653 of file pcbnew.py.

◆ PyGetClass()

pcbnew.EDA_ITEM.PyGetClass ( self)
PyGetClass(EDA_ITEM self) -> wxString

Definition at line 1694 of file pcbnew.py.

◆ RenderAsBitmap()

pcbnew.EDA_ITEM.RenderAsBitmap ( self,
aWorldScale )
RenderAsBitmap(EDA_ITEM self, double aWorldScale) -> bool

Definition at line 1573 of file pcbnew.py.

◆ Replace()

pcbnew.EDA_ITEM.Replace ( self,
* args )
    Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, wxString aText) -> bool
    Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData=None) -> bool

Definition at line 1657 of file pcbnew.py.

◆ SetBrightened()

pcbnew.EDA_ITEM.SetBrightened ( self)
SetBrightened(EDA_ITEM self)

Definition at line 1521 of file pcbnew.py.

◆ SetFlags()

pcbnew.EDA_ITEM.SetFlags ( self,
aMask )
SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)

Definition at line 1537 of file pcbnew.py.

◆ SetForceVisible()

pcbnew.EDA_ITEM.SetForceVisible ( self,
aEnable )
SetForceVisible(EDA_ITEM self, bool aEnable)

Definition at line 1589 of file pcbnew.py.

◆ SetIsRollover()

pcbnew.EDA_ITEM.SetIsRollover ( self,
aIsRollover )
SetIsRollover(EDA_ITEM self, bool aIsRollover)

Definition at line 1513 of file pcbnew.py.

◆ SetIsShownAsBitmap()

pcbnew.EDA_ITEM.SetIsShownAsBitmap ( self,
aBitmap )
SetIsShownAsBitmap(EDA_ITEM self, bool aBitmap)

Definition at line 1577 of file pcbnew.py.

◆ SetLocked()

pcbnew.EDA_ITEM.SetLocked ( self,
aLocked )
SetLocked(EDA_ITEM self, bool aLocked)

Definition at line 1481 of file pcbnew.py.

◆ SetModified()

pcbnew.EDA_ITEM.SetModified ( self)
SetModified(EDA_ITEM self)

Definition at line 1533 of file pcbnew.py.

◆ SetParent()

pcbnew.EDA_ITEM.SetParent ( self,
aParent )
SetParent(EDA_ITEM self, EDA_ITEM aParent)

Reimplemented in pcbnew.NETINFO_ITEM.

Definition at line 1461 of file pcbnew.py.

◆ SetParentGroup()

pcbnew.EDA_ITEM.SetParentGroup ( self,
aGroup )
SetParentGroup(EDA_ITEM self, EDA_GROUP aGroup)

Definition at line 1465 of file pcbnew.py.

◆ SetPosition()

pcbnew.EDA_ITEM.SetPosition ( self,
aPos )
SetPosition(EDA_ITEM self, VECTOR2I aPos)

Definition at line 1621 of file pcbnew.py.

◆ SetSelected()

pcbnew.EDA_ITEM.SetSelected ( self)
SetSelected(EDA_ITEM self)

Definition at line 1517 of file pcbnew.py.

◆ Sort()

pcbnew.EDA_ITEM.Sort ( aLeft,
aRight )
static
Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool

Definition at line 1673 of file pcbnew.py.

◆ Type()

pcbnew.EDA_ITEM.Type ( self)
Type(EDA_ITEM self) -> KICAD_T

Definition at line 1453 of file pcbnew.py.

◆ ViewBBox()

pcbnew.EDA_ITEM.ViewBBox ( self)
ViewBBox(EDA_ITEM self) -> BOX2I

Definition at line 1677 of file pcbnew.py.

◆ ViewGetLayers()

pcbnew.EDA_ITEM.ViewGetLayers ( self)
ViewGetLayers(EDA_ITEM self) -> intVector

Definition at line 1681 of file pcbnew.py.

◆ Visit()

pcbnew.EDA_ITEM.Visit ( self,
inspector,
testData,
aScanTypes )
Visit(EDA_ITEM self, INSPECTOR inspector, void * testData, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> INSPECT_RESULT

Definition at line 1637 of file pcbnew.py.

◆ XorFlags()

pcbnew.EDA_ITEM.XorFlags ( self,
aMask )
XorFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)

Definition at line 1541 of file pcbnew.py.

Property Documentation

◆ m_Uuid

pcbnew.EDA_ITEM.m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=)
static

Definition at line 1692 of file pcbnew.py.

◆ thisown

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

Definition at line 1446 of file pcbnew.py.


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