/
BlockAttributeWidget

BlockAttributeWidget

In this sample you will see how to create a new command, select entity (block) and get data from this entity showing it on a dialog. Also this sample plugin permit to edit the content from the entity attribute.

Command workflow:
Starting with a drawing that contains a block and a block attribute, start the command BLOCKATTRIBUTELIST, select the block that contains the Block Attribute.
The list of Attribute from the selected block will be shown on the right side dialog.

Attribute list.png

To edit the attribute value, double click on the value text box and chage the it.

To save the change, click confirm button .

Source Code:

<>

 

Related content

Kudo api server with UI
Kudo api server with UI
Read with this
ARES Kudo Editor Customization Guide
ARES Kudo Editor Customization Guide
Read with this