Film kit command

project.view.get

Project Panel View

Reads the Project panel view: list/icon/freeform, icon and font size, preview area, thumbnails, the shown columns and every available column.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

None.

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "project.view.get" }]
}

The required parameters, with placeholders for their types: not a tested example. film_run answers the step’s result in completed[i].result.

Result

Result of project.view.get
NameTypeRequiredDescription
availablestring[]no
currentPresetanyno
freeformobjectno
hoverScrubbooleanno
previewAreabooleanno
thumbnailControlsAllDevicesbooleanno
thumbnailsbooleanno
thumbnailsShowEffectsbooleanno
viewobjectno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "available": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "currentPreset": {},
    "freeform": {
      "additionalProperties": true,
      "properties": {
        "cardSize": {
          "type": "number"
        },
        "grid": {
          "type": "number"
        },
        "showDurations": {
          "type": "boolean"
        },
        "showNames": {
          "type": "boolean"
        },
        "snap": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "hoverScrub": {
      "type": "boolean"
    },
    "previewArea": {
      "type": "boolean"
    },
    "thumbnailControlsAllDevices": {
      "type": "boolean"
    },
    "thumbnails": {
      "type": "boolean"
    },
    "thumbnailsShowEffects": {
      "type": "boolean"
    },
    "view": {
      "additionalProperties": true,
      "properties": {
        "columns": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "name": {
                "type": "string"
              },
              "width": {
                "type": "number"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "fontSize": {
          "type": "string"
        },
        "iconSize": {
          "type": "number"
        },
        "iconSort": {
          "additionalProperties": true,
          "properties": {
            "column": {
              "type": "string"
            },
            "descending": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "mode": {
          "type": "string"
        },
        "sort": {
          "additionalProperties": true,
          "properties": {
            "column": {
              "type": "string"
            },
            "descending": {
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.