11.5. Extented Attributes
Prev | Chapter 11. Custom Shape Module | Next

## 11.5. Extented Attributes

To extend your custom shape with custom attributes you can put something like:

`
<ext_attributes>
<ext_attribute name="Integer" type="int" />
<ext_attribute name="String" type="string" />
<ext_attribute name="Float" type="real" />
</ext_attributes>
`

between the `<shape></shape>` tags. The effect will be some custom properties in your object. They are editable by the properties dialog and will be loaded and saved with your diagram. To programatically access them use `"custom:<name>"`

Prev | Up | Next
11.4. Shapes in Shapes aka. Subshapes | Home | 11.6. The Sheet description