mazzetti68
Guest
Hello, everyone!
I have a dynamic block (for windows), with inside a "numf" attribute, which in practice refers to the number of the window.
to numerarle use the lisp of the famous leemac:smile:, numinc. the problem lies in the fact that I often add endings, which are ordered on the floor in a specific order, which also follows the numerical order, e.g.[1] [2] [3] [4] [5]inserting a new window, to the number [4][1] [2] [3] [4] [5]
---[4]-----↑
Now I have to manually rename all the attraves of the window number. . . [4]becomes[5], [5]becomes[6], to get the right order:[1] [2] [3] [4] [5] [6]I would need a lisp that asks me to select the blocks that I want to increase the "numf" attribute, and what (usually +1).
by applying this, in the previous example, once placed my new window block [4], select the dynamic blocks to increase the "numf" attribute of +1, since I entered only the 4, if I entered a fake block number 5, the increment was +2; and I send. now the value of the "numf" attribute of all selected blocks has increased by +1.
Does anyone know if there is such a lisp? Since numinc does not have this possibility :
thank you in advance and good afternoon! !
I have a dynamic block (for windows), with inside a "numf" attribute, which in practice refers to the number of the window.
to numerarle use the lisp of the famous leemac:smile:, numinc. the problem lies in the fact that I often add endings, which are ordered on the floor in a specific order, which also follows the numerical order, e.g.[1] [2] [3] [4] [5]inserting a new window, to the number [4][1] [2] [3] [4] [5]
---[4]-----↑
Now I have to manually rename all the attraves of the window number. . . [4]becomes[5], [5]becomes[6], to get the right order:[1] [2] [3] [4] [5] [6]I would need a lisp that asks me to select the blocks that I want to increase the "numf" attribute, and what (usually +1).
by applying this, in the previous example, once placed my new window block [4], select the dynamic blocks to increase the "numf" attribute of +1, since I entered only the 4, if I entered a fake block number 5, the increment was +2; and I send. now the value of the "numf" attribute of all selected blocks has increased by +1.
Does anyone know if there is such a lisp? Since numinc does not have this possibility :
thank you in advance and good afternoon! !