package kiapi.common.commands

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

message AddToSelection

editor_commands.proto:362

Adds the given items to the selection. Returns SelectionResponse

message BeginCommit

editor_commands.proto:125

Begins a staged set of changes. Any modifications made to a document through the API after this call will be saved to a pending commit, and will not appear in KiCad until a matching call to END_COMMIT.

message BeginCommitResponse

editor_commands.proto:132

enum BoundingBoxMode

editor_commands.proto:319

Used in: GetBoundingBox

message ClearSelection

editor_commands.proto:380

Removes all items from selection

message CloseDocument

project_commands.proto:99

enum CommitAction

editor_commands.proto:139

Used in: EndCommit

message CreateItems

editor_commands.proto:168

Creates new items on a given document

message CreateItemsResponse

editor_commands.proto:211

message DeleteItems

editor_commands.proto:283

Deletes items in a given document

message DeleteItemsResponse

editor_commands.proto:307

message EndCommit

editor_commands.proto:147

message EndCommitResponse

editor_commands.proto:163

(message has no fields)

message ExpandTextVariables

project_commands.proto:54

message ExpandTextVariablesResponse

project_commands.proto:62

message GetBoundingBox

editor_commands.proto:326

message GetBoundingBoxResponse

editor_commands.proto:337

message GetItems

editor_commands.proto:223

message GetItemsById

editor_commands.proto:232

message GetItemsResponse

editor_commands.proto:240

message GetKiCadBinaryPath

base_commands.proto:41

Returns the full path to the given KiCad binary

message GetNetClasses

project_commands.proto:28

(message has no fields)

message GetOpenDocuments

editor_commands.proto:46

Retrieves a list of open documents of the given type

message GetOpenDocumentsResponse

editor_commands.proto:52

message GetPageSettings

editor_commands.proto:423

returns common.types.PageSettings

message GetPluginSettingsPath

base_commands.proto:94

Return a writeable path that a plugin can use for storing persistent data such as configuration files, etc. This path may not yet exist; actual creation of the directory for a given plugin is up to the plugin itself. Files in this path will not be modified if the plugin is uninstalled or upgraded. Returns StringResponse

message GetSelection

editor_commands.proto:345

Retrieves a list of items. Returns SelectionResponse

message GetTextAsShapes

base_commands.proto:71

Render the given text object(s) as shapes. Depending on whether the text is using the KiCad stroke font or a custom font, the response will be a compound shape containing a set of polygons or a set of segments.

message GetTextAsShapesResponse

base_commands.proto:83

message GetTextExtents

base_commands.proto:54

returns kiapi.common.types.Box2

message GetTextVariables

project_commands.proto:69

returns kiapi.common.project.TextVariables

message GetTitleBlockInfo

editor_commands.proto:410

returns common.types.TitleBlockInfo

message GetVersion

base_commands.proto:26

(message has no fields)

message GetVersionResponse

base_commands.proto:30

message HitTest

editor_commands.proto:386

Tests if a certain point falls within tolerance of an item's geometry

message HitTestResponse

editor_commands.proto:404

enum HitTestResult

editor_commands.proto:397

Used in: HitTestResponse

message ItemCreationResult

editor_commands.proto:203

Used in: CreateItemsResponse

message ItemDeletionResult

editor_commands.proto:300

Used in: DeleteItemsResponse

enum ItemDeletionStatus

editor_commands.proto:292

Used in: ItemDeletionResult

message ItemStatus

editor_commands.proto:196

Per-item status feedback for creation and update calls

Used in: ItemCreationResult, ItemUpdateResult

enum ItemStatusCode

editor_commands.proto:184

Used in: ItemStatus

message ItemUpdateResult

editor_commands.proto:262

Used in: UpdateItemsResponse

message NetClassesResponse

project_commands.proto:32

message OpenDocument

project_commands.proto:85

message OpenDocumentResponse

project_commands.proto:93

message OpenLibraryItem

editor_commands.proto:39

Opens a specific item from a library by identifier

message ParseAndCreateItemsFromString

editor_commands.proto:462

Attempts to parse the given string as a s-expression formatted container with items, similar to how the Paste action inside the KiCad editor works. If the parse is successful, the items will be created and inserted into the editor. Returns CreateItemsResponse

message PathResponse

base_commands.proto:48

message Ping

base_commands.proto:36

A command to check if the connection to KiCad is OK

(message has no fields)

message RefreshEditor

editor_commands.proto:33

Refreshes the given frame, if that frame is open

message RemoveFromSelection

editor_commands.proto:371

Removes the given items to the selection. Returns SelectionResponse

message RevertDocument

editor_commands.proto:87

message RunAction

editor_commands.proto:98

Runs a TOOL_ACTION using the TOOL_MANAGER of a given frame. WARNING: The TOOL_ACTIONs are specifically *not* an API. Command names may change as code is refactored, and commands may disappear. This API method is provided for low-level prototyping purposes only.

message RunActionResponse

editor_commands.proto:114

NOTE: At the moment, RAS_FRAME_NOT_OPEN won't be returned as the handler is inside the frame.

enum RunActionStatus

editor_commands.proto:103

Used in: RunActionResponse

message SaveCopyOfDocument

editor_commands.proto:78

Saves the given document to a new location and does not open the new copy

message SaveDocument

project_commands.proto:105

message SaveDocumentToString

editor_commands.proto:435

message SaveOptions

editor_commands.proto:67

Used in: SaveCopyOfDocument

message SaveSelectionToString

editor_commands.proto:447

(message has no fields)

message SavedDocumentResponse

editor_commands.proto:440

message SavedSelectionResponse

editor_commands.proto:451

message SelectionResponse

editor_commands.proto:356

The set of currently selected items

message SetNetClasses

project_commands.proto:38

message SetPageSettings

editor_commands.proto:428

message SetTextVariables

project_commands.proto:75

message SetTitleBlockInfo

editor_commands.proto:415

message StringResponse

base_commands.proto:100

message TextOrTextBox

base_commands.proto:60

Used in: GetTextAsShapes, TextWithShapes

message TextWithShapes

base_commands.proto:76

Used in: GetTextAsShapesResponse

message UpdateItems

editor_commands.proto:252

Updates items in a given document

message UpdateItemsResponse

editor_commands.proto:270