package kiapi.board.commands

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message BoardDesignRulesResponse

board_commands.proto:113

message BoardEditorAppearanceSettings

board_commands.proto:495

Used in: SetBoardEditorAppearanceSettings

message BoardEnabledLayersResponse

board_commands.proto:59

enum BoardFlipMode

board_commands.proto:477

Used in: BoardEditorAppearanceSettings

message BoardLayerNameResponse

board_commands.proto:169

message BoardLayerResponse

board_commands.proto:425

message BoardLayers

board_commands.proto:430

enum BoardOriginType

board_commands.proto:138

Used in: GetBoardOrigin, SetBoardOrigin

message BoardStackupResponse

board_commands.proto:40

message CheckPadstackPresenceOnLayers

board_commands.proto:354

Tests if the given set of items with padstacks (pads or vias) has content on the given set of layers. This is a dynamic call rather than a property of the padstack because pads and vias can be set to only include shapes on connected copper layers, and whether or not the pad is connected can't be determined in isolation. To optimize API call performance, multiple items and multiple layers to test may be passed in with this command message. The return will include the results for each valid item on each valid layer. Note that not all layers make sense for a given item (for example, testing against BL_UNDEFINED never makes sense). In general, the internal KiCad APIs will not return an error when testing non-sensical layers for a given item, and instead will return a default of "true" for any such layers.

message CustomRulesResponse

board_commands.proto:131

enum CustomRulesStatus

board_commands.proto:94

Used in: BoardDesignRulesResponse, CustomRulesResponse

enum DrcSeverity

board_commands.proto:385

Deprecated - use common.types.RuleSeverity

Used in: InjectDrcError

message GetActiveLayer

board_commands.proto:443

returns BoardLayerResponse

message GetBoardDesignRules

board_commands.proto:102

message GetBoardEditorAppearanceSettings

board_commands.proto:507

Returns BoardEditorAppearanceSettings

(message has no fields)

message GetBoardEnabledLayers

board_commands.proto:54

message GetBoardLayerName

board_commands.proto:162

message GetBoardOrigin

board_commands.proto:146

Returns a Vector2 with the specified origin point

message GetBoardStackup

board_commands.proto:35

message GetConnectedItems

board_commands.proto:230

Retrieve all copper-connected items connected to one or more source items returns kiapi.common.commands.GetItemsResponse

message GetCustomDesignRules

board_commands.proto:119

message GetGraphicsDefaults

board_commands.proto:84

message GetItemsByNet

board_commands.proto:197

Retrieve all the copper items belonging to a certain net or set of nets returns kiapi.common.commands.GetItemsResponse

message GetItemsByNetClass

board_commands.proto:215

Retrieve all the copper items belonging to a certain net class or set of net classes returns kiapi.common.commands.GetItemsResponse

message GetNetClassForNets

board_commands.proto:247

A net may be part of multiple classes that have a priority ordering, which will result in a composite "effective" netclass containing the merged/overridden properties of all the constituent netclasses it contains. This message retrieves this effective netclass for a net or list of nets. Returns NetClassForNetsResponse

message GetNets

board_commands.proto:180

message GetPadShapeAsPolygon

board_commands.proto:323

Computes the polygon representation of a pad, merging any custom shapes together. This representation will approximate curves as a series of segments.

message GetVisibleLayers

board_commands.proto:420

returns BoardLayers

message GraphicsDefaultsResponse

board_commands.proto:89

message ImportNetlist

board_commands.proto:272

Imports a netlist file exported from the schematic and updates the board. Returns ImportNetlistResponse.

message ImportNetlistResponse

board_commands.proto:290

enum InactiveLayerDisplayMode

board_commands.proto:455

Used in: BoardEditorAppearanceSettings

message InjectDrcError

board_commands.proto:399

Returns InjectDrcErrorResponse

message InjectDrcErrorResponse

board_commands.proto:412

message InteractiveMoveItems

board_commands.proto:529

Selects and begins an interactive move of the given item(s). NOTE: Takes ownership of the active commit, if one exists: the move tool will push the commit when the user confirms the move, or roll back the commit if the user cancels the move. Keep this in mind if using this command in combination with commands that create or modify items using an explicit commit.

message NetClassForNetsResponse

board_commands.proto:252

enum NetColorDisplayMode

board_commands.proto:466

Used in: BoardEditorAppearanceSettings

enum NetlistMatchMode

board_commands.proto:263

How schematic components are matched to board footprints during netlist import.

Used in: ImportNetlist

message NetsResponse

board_commands.proto:190

message PadShapeAsPolygonResponse

board_commands.proto:337

Returned from GetPadShapeAsPolygon. The pads and polygons repeated fields will have the same length and can be treated as a list of tuples.

enum PadstackPresence

board_commands.proto:363

Used in: PadstackPresenceEntry

message PadstackPresenceEntry

board_commands.proto:370

Used in: PadstackPresenceResponse

message PadstackPresenceResponse

board_commands.proto:377

enum RatsnestDisplayMode

board_commands.proto:486

Used in: BoardEditorAppearanceSettings

message RefillZones

board_commands.proto:309

Refills some or all zones on the board. When zones is empty and a board editor is running, all zones are refilled in the background: Empty is returned immediately and KiCad returns ApiStatusCode.AS_BUSY to all future API requests until the fill completes. When specific zones are given, or in headless sessions, the fill runs synchronously and the response is not sent until it has completed.

message SetActiveLayer

board_commands.proto:448

message SetBoardDesignRules

board_commands.proto:107

message SetBoardEditorAppearanceSettings

board_commands.proto:511

message SetBoardEnabledLayers

board_commands.proto:71

Changes which layers are enabled in the board stackup WARNING: any existing content on layers that are removed by this call is deleted. This operation cannot be undone. Returns BoardEnabledLayersResponse with the updated layer set.

message SetBoardOrigin

board_commands.proto:153

message SetCustomDesignRules

board_commands.proto:125

Returns CustomRulesResponse

message SetVisibleLayers

board_commands.proto:435

message UpdateBoardStackup

board_commands.proto:48

Changes the stackup for the given board according to the contents of the message (**not yet implemented**) WARNING: any existing content on layers that are removed by this call is deleted. This operation cannot be undone. Returns BoardStackupResponse with the updated stackup, in normalized form