2012-04-11 13:41 UTC
Hello everyone,
after some fiddling around with this nice tool I got used to it a bit more and wrote my first ACAD dialog based command with it which allows to look into the nesting structure of blocks. It was fairly easy.
Now I am thinking of another application which would allow me to edit the attributes (80 per block) of hundrets of blocks within one drawing. I would like to use the DataGrid for that as it allows me to set
individual cells to be just Text-input boxes while others can be drop-down lists where the user can select one of many entries. The grid would show all the attributes in the columns, one row per block.
I want to be able to distribute data in the following manner because it is sometimes used in ACAD itself, e.g. the publish dialog:
- the user selects multiple rows
- then he can select an entry of a list box within the selection (in the publish command that would be the page setup)
- that would put the selected value into the column of all the selected rows
There are other ways to solve this but I like the elegant and easy way this would offer.
Is that somehow possible?
Also it would be necessary to keep multiple rows selected while the user selects on entry in a cell's pulldown list.
However, I don't see that the first step would be possible...? I have seen that there are values for the selected row/column but not for multiple rows + 1 column.
(It would be nice, if the list of selected rows was a simple lisp list of row index numbers)
Or do I have missed something in the documentation?
Thank you for your help
Zoltan
after some fiddling around with this nice tool I got used to it a bit more and wrote my first ACAD dialog based command with it which allows to look into the nesting structure of blocks. It was fairly easy.
Now I am thinking of another application which would allow me to edit the attributes (80 per block) of hundrets of blocks within one drawing. I would like to use the DataGrid for that as it allows me to set
individual cells to be just Text-input boxes while others can be drop-down lists where the user can select one of many entries. The grid would show all the attributes in the columns, one row per block.
I want to be able to distribute data in the following manner because it is sometimes used in ACAD itself, e.g. the publish dialog:
- the user selects multiple rows
- then he can select an entry of a list box within the selection (in the publish command that would be the page setup)
- that would put the selected value into the column of all the selected rows
There are other ways to solve this but I like the elegant and easy way this would offer.
Is that somehow possible?
Also it would be necessary to keep multiple rows selected while the user selects on entry in a cell's pulldown list.
However, I don't see that the first step would be possible...? I have seen that there are values for the selected row/column but not for multiple rows + 1 column.
(It would be nice, if the list of selected rows was a simple lisp list of row index numbers)
Or do I have missed something in the documentation?
Thank you for your help
Zoltan