package kiapi.board.commands

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

message AddEmbeddedFiles

board_commands.proto:96

Appends embedded files to the board. Returns Empty.

enum BoardBoundingBoxMode

board_commands.proto:624

What items to use to calculate the board bounding box Since: 11.0

Used in: GetBoardBoundingBox

message BoardBoundingBoxResponse

board_commands.proto:644

Since: 11.0

message BoardDesignRulesResponse

board_commands.proto:138

message BoardEditorAppearanceSettings

board_commands.proto:530

Used in: SetBoardEditorAppearanceSettings

message BoardEnabledLayersResponse

board_commands.proto:64

enum BoardFlipDirection

board_commands.proto:568

Used in: FlipItems

enum BoardFlipMode

board_commands.proto:512

Used in: BoardEditorAppearanceSettings

message BoardLayerNameResponse

board_commands.proto:194

message BoardLayerResponse

board_commands.proto:460

message BoardLayers

board_commands.proto:465

enum BoardOriginType

board_commands.proto:163

Used in: GetBoardOrigin, SetBoardOrigin

message BoardPlotSettingsResponse

board_commands.proto:563

message BoardStackupResponse

board_commands.proto:45

message CheckPadstackPresenceOnLayers

board_commands.proto:389

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

enum CustomRulesStatus

board_commands.proto:119

Used in: BoardDesignRulesResponse, CustomRulesResponse

enum DrcSeverity

board_commands.proto:420

Deprecated - use common.types.RuleSeverity

Used in: InjectDrcError

message FlipItems

board_commands.proto:576

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

message FlipItemsResponse

board_commands.proto:594

message GetActiveLayer

board_commands.proto:478

returns BoardLayerResponse

message GetBoardBoundingBox

board_commands.proto:637

Returns BoardBoundingBoxResponse Since: 11.0

message GetBoardDesignRules

board_commands.proto:127

message GetBoardEditorAppearanceSettings

board_commands.proto:542

Returns BoardEditorAppearanceSettings

(message has no fields)

message GetBoardEnabledLayers

board_commands.proto:59

message GetBoardLayerByName

board_commands.proto:203

Since: 10.0.6 Returns BoardLayerResponse

message GetBoardLayerName

board_commands.proto:187

message GetBoardOrigin

board_commands.proto:171

Returns a Vector2 with the specified origin point

message GetBoardPlotSettings

board_commands.proto:552

Returns BoardPlotSettingsResponse

message GetBoardStackup

board_commands.proto:40

message GetConnectedItems

board_commands.proto:265

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

message GetCustomDesignRules

board_commands.proto:144

message GetEmbeddedFiles

board_commands.proto:90

Returns kiapi.common.types.EmbeddedFiles

message GetGraphicsDefaults

board_commands.proto:109

message GetItemsByNet

board_commands.proto:232

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

message GetItemsByNetClass

board_commands.proto:250

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

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

message GetPadShapeAsPolygon

board_commands.proto:358

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

returns BoardLayers

message GraphicsDefaultsResponse

board_commands.proto:114

message ImportNetlist

board_commands.proto:307

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

message ImportNetlistResponse

board_commands.proto:325

enum InactiveLayerDisplayMode

board_commands.proto:490

Used in: BoardEditorAppearanceSettings

message InjectDrcError

board_commands.proto:434

Returns InjectDrcErrorResponse

message InjectDrcErrorResponse

board_commands.proto:447

message InteractiveMoveItems

board_commands.proto:663

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

Used in: FlipItemsResponse

message NetClassForNetsResponse

board_commands.proto:287

enum NetColorDisplayMode

board_commands.proto:501

Used in: BoardEditorAppearanceSettings

enum NetlistMatchMode

board_commands.proto:298

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

Used in: ImportNetlist

message NetsResponse

board_commands.proto:225

message PadShapeAsPolygonResponse

board_commands.proto:372

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

Used in: PadstackPresenceEntry

message PadstackPresenceEntry

board_commands.proto:405

Used in: PadstackPresenceResponse

message PadstackPresenceResponse

board_commands.proto:412

message PlaceFootprintFromLibrary

board_commands.proto:607

Requests placement of a footprint on a board Returns PlaceFromLibraryResponse Since: 11.0

enum RatsnestDisplayMode

board_commands.proto:521

Used in: BoardEditorAppearanceSettings

message RefillZones

board_commands.proto:344

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

message SetBoardDesignRules

board_commands.proto:132

message SetBoardEditorAppearanceSettings

board_commands.proto:546

message SetBoardEnabledLayers

board_commands.proto:76

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

message SetBoardPlotSettings

board_commands.proto:557

message SetCustomDesignRules

board_commands.proto:150

Returns CustomRulesResponse

message SetEmbeddedFiles

board_commands.proto:103

Replaces all embedded files in the board. Returns Empty.

message SetVisibleLayers

board_commands.proto:470

message UpdateBoardStackup

board_commands.proto:53

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