package kiapi.board.commands

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

message BoardDesignRulesResponse

board_commands.proto:117

message BoardEditorAppearanceSettings

board_commands.proto:509

Used in: SetBoardEditorAppearanceSettings

message BoardEnabledLayersResponse

board_commands.proto:63

enum BoardFlipDirection

board_commands.proto:547

Used in: FlipItems

enum BoardFlipMode

board_commands.proto:491

Used in: BoardEditorAppearanceSettings

message BoardLayerNameResponse

board_commands.proto:173

message BoardLayerResponse

board_commands.proto:439

message BoardLayers

board_commands.proto:444

enum BoardOriginType

board_commands.proto:142

Used in: GetBoardOrigin, SetBoardOrigin

message BoardPlotSettingsResponse

board_commands.proto:542

message BoardStackupResponse

board_commands.proto:44

message CheckPadstackPresenceOnLayers

board_commands.proto:368

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:135

enum CustomRulesStatus

board_commands.proto:98

Used in: BoardDesignRulesResponse, CustomRulesResponse

enum DrcSeverity

board_commands.proto:399

Deprecated - use common.types.RuleSeverity

Used in: InjectDrcError

message FlipItems

board_commands.proto:555

Flips one or more board items to the opposite side of the board. Returns FlipItemsResponse.

message FlipItemsResponse

board_commands.proto:573

message GetActiveLayer

board_commands.proto:457

returns BoardLayerResponse

message GetBoardDesignRules

board_commands.proto:106

message GetBoardEditorAppearanceSettings

board_commands.proto:521

Returns BoardEditorAppearanceSettings

(message has no fields)

message GetBoardEnabledLayers

board_commands.proto:58

message GetBoardLayerByName

board_commands.proto:182

Since: 10.0.6 Returns BoardLayerResponse

message GetBoardLayerName

board_commands.proto:166

message GetBoardOrigin

board_commands.proto:150

Returns a Vector2 with the specified origin point

message GetBoardPlotSettings

board_commands.proto:531

Returns BoardPlotSettingsResponse

message GetBoardStackup

board_commands.proto:39

message GetConnectedItems

board_commands.proto:244

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

message GetCustomDesignRules

board_commands.proto:123

message GetGraphicsDefaults

board_commands.proto:88

message GetItemsByNet

board_commands.proto:211

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

message GetItemsByNetClass

board_commands.proto:229

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:261

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:194

message GetPadShapeAsPolygon

board_commands.proto:337

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:434

returns BoardLayers

message GraphicsDefaultsResponse

board_commands.proto:93

message ImportNetlist

board_commands.proto:286

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

message ImportNetlistResponse

board_commands.proto:304

enum InactiveLayerDisplayMode

board_commands.proto:469

Used in: BoardEditorAppearanceSettings

message InjectDrcError

board_commands.proto:413

Returns InjectDrcErrorResponse

message InjectDrcErrorResponse

board_commands.proto:426

message InteractiveMoveItems

board_commands.proto:597

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 ItemFlipResult

board_commands.proto:565

Used in: FlipItemsResponse

message NetClassForNetsResponse

board_commands.proto:266

enum NetColorDisplayMode

board_commands.proto:480

Used in: BoardEditorAppearanceSettings

enum NetlistMatchMode

board_commands.proto:277

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

Used in: ImportNetlist

message NetsResponse

board_commands.proto:204

message PadShapeAsPolygonResponse

board_commands.proto:351

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:377

Used in: PadstackPresenceEntry

message PadstackPresenceEntry

board_commands.proto:384

Used in: PadstackPresenceResponse

message PadstackPresenceResponse

board_commands.proto:391

enum RatsnestDisplayMode

board_commands.proto:500

Used in: BoardEditorAppearanceSettings

message RefillZones

board_commands.proto:323

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:462

message SetBoardDesignRules

board_commands.proto:111

message SetBoardEditorAppearanceSettings

board_commands.proto:525

message SetBoardEnabledLayers

board_commands.proto:75

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:157

message SetBoardPlotSettings

board_commands.proto:536

message SetCustomDesignRules

board_commands.proto:129

Returns CustomRulesResponse

message SetVisibleLayers

board_commands.proto:449

message UpdateBoardStackup

board_commands.proto:52

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