---
description: Add data to a Shape.
---

# Shape Data

## Description

Optionally override Id and add a series of data items to a Shape.

{% tabs %}
{% tab title="Preview" %}
![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FYMvDomr017MsdJDynvia%2FGraphicPlus_Comp_Data.png?alt=media\&token=7ed348c7-74fd-4a5b-8e56-1265c906ba03)
{% endtab %}

{% tab title="Location" %}
**Name** | Shape Data

**Nickname** | Data

**Tab** | Display

**Panel** | Graphics

**Division** | 3
{% endtab %}

{% tab title="Inputs" %}
**S** | **Shape / Geometry** (_G+Shape, Curve, Brep, Mesh_) | A Shape, or a Curve, Brep, Mesh

**K** | **Keys** (_Text_) | A list of titles to be added to the SVG element as data-'key'

**V** | **Values** (_Text_) | The values coordinated with the titles to attach to the element
{% endtab %}

{% tab title="Ouputs" %}
**S** | **Shape** (_G+ Shape_) | A Graphic Plus Shape Object


{% endtab %}

{% tab title="Mode" %}
​![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FthP76ws6Ip5Cd0wJqiMC%2Fimage.png?alt=media\&token=26936339-35a1-4f1d-92fc-fff3d12345c6)

​**Save Image** | Opens a file save dialog to save a raster image file of the current drawing.

**Save SVG** | Opens a file save dialog to save &#x61;_&#x6E;_ SVG vector file of the current drawing.
{% endtab %}
{% endtabs %}

## Usage

![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FGrP8dMnJQZCh0pTjkdpH%2FData.gif?alt=media\&token=8cec3632-b59c-47e4-80c3-41a533f4639a)
