# Set Graphics

Sets the drawn graphics associated with a document object

{% tabs %}
{% tab title="Preview" %}
![](https://2066716321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNf3CHUr2WVj5oGeU3ro9%2Fuploads%2FT17hE4CrSqmbgcWd3NuJ%2FAttributes%20Linetype.png?alt=media\&token=f42f94a5-e06a-41fd-8483-0a6d3bb49292)
{% endtab %}

{% tab title="Location" %}
**Name** | Set Graphics

**Nickname** | Set Graphic

**Tab** | TTToolbox

**Panel** | Document

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

{% tab title="Inputs" %}
**\*A** | **Attribute** (*Attribute*) | An optional attribute object to update. If empty a new attribute object will be created.

**S** | **Stroke Color** (*Colour*) | The stroke color

**W** | **Stroke Weight** (*Number*) | The stroke weight

**P** | **Stroke Pattern** (*Number*) | The stroke pattern

**\*F** | **Fill Color** (*Colour*) | Fill color for SVG exports (note: will not affect Rhino display or most other formats)
{% endtab %}

{% tab title="Ouputs" %}
**A** | **Attribute** (*Attribute*) | A CORE Attribute object
{% endtab %}
{% endtabs %}

## Usage
