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.
...
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:
<>