I am currently trying to come up with a way to number objects in and Array.
Basically I was wondering if I could take a Block and use an Array to make multiple of the object, of course, but also have a field/attribute within the block count up. I was thinking it would work much like Excel. Right now I have just a Block with an Array that works fine for what I use it for. However, I have to manually correct the numbers in the drawing, which has lead to occasional mistakes.
I have had no luck in trying to get something to work. If someone could lead me in the right direction, suggestions or examples would be greatly appreciated!
Solved! Go to Solution.
I am currently trying to come up with a way to number objects in and Array.
Basically I was wondering if I could take a Block and use an Array to make multiple of the object, of course, but also have a field/attribute within the block count up. I was thinking it would work much like Excel. Right now I have just a Block with an Array that works fine for what I use it for. However, I have to manually correct the numbers in the drawing, which has lead to occasional mistakes.
I have had no luck in trying to get something to work. If someone could lead me in the right direction, suggestions or examples would be greatly appreciated!
Solved! Go to Solution.
Solved by jarredmonday. Go to Solution.
Hi colecollegemoney,
This is interesting - can you attach a copy of your drawing with the array in it? There are numerous block attribute and text increment LISP routines out there but I am unsure how well they will work in this situation. I would be happy to take a look though and perhaps I can make some suggestions.
Please select the Accept as Solution button if my post solves your issue or answers your question.
Hi colecollegemoney,
This is interesting - can you attach a copy of your drawing with the array in it? There are numerous block attribute and text increment LISP routines out there but I am unsure how well they will work in this situation. I would be happy to take a look though and perhaps I can make some suggestions.
Please select the Accept as Solution button if my post solves your issue or answers your question.
Hello John;
Thank you for the reply. I have attached a file that contains an example of what I'm planning to us this for. The block, in the drawing, uses a linear parameter so a user can drag the right grip to array the object. I have not put in an attribute or text block, because I don't know which I would need. I would however just like to have it in the center of the block.
For the text, I would like for it work with letters and symbols too if that's possible.
Hello John;
Thank you for the reply. I have attached a file that contains an example of what I'm planning to us this for. The block, in the drawing, uses a linear parameter so a user can drag the right grip to array the object. I have not put in an attribute or text block, because I don't know which I would need. I would however just like to have it in the center of the block.
For the text, I would like for it work with letters and symbols too if that's possible.
Hi @Anonymous,
Since this is actually a Dynamic Block issue I suggest that we move the thread to that forum.
In assigning an attribute inside your block, there is no association with the polyline. That means when you actually array the object, you would only end up with one attribute.
With that said, if I nest a block inside the existing block, the attributes do show up but do not increment.
Hi @Anonymous,
Since this is actually a Dynamic Block issue I suggest that we move the thread to that forum.
In assigning an attribute inside your block, there is no association with the polyline. That means when you actually array the object, you would only end up with one attribute.
With that said, if I nest a block inside the existing block, the attributes do show up but do not increment.
Hello John,
Ok, I have moved this thread over to the Dynamic Block forum.
I have not work with nested blocks before, but I will look into them. Also, in your previous reply, you mentioned increment LISP routines. I have glanced over some examples of them, and I think they can solve my problem.
Thank you again for the ideas.
Hello John,
Ok, I have moved this thread over to the Dynamic Block forum.
I have not work with nested blocks before, but I will look into them. Also, in your previous reply, you mentioned increment LISP routines. I have glanced over some examples of them, and I think they can solve my problem.
Thank you again for the ideas.
Here is a great thread with a couple blocks of what you're asking about.
Here is a great thread with a couple blocks of what you're asking about.
Hi @jarredmonday,
Nice link and great formula to identify the position!
Hi @jarredmonday,
Nice link and great formula to identify the position!
I found a great lsp that does exactly what I need. It wasn't that complicated to set up and get working, though on one machine it did have trouble running the actual command inside of autoCAD, it kept giving a "missing base.dcl" warning.
It works great in that if you have multiple blocks inside a drawing, like we do, the lsp brings up a GUI window and it has a drop down where you can select the specific block you want to array. Also, if your block has multiple attributes, you can choose the one you want to increment in the array.
It works great, does what it's supposed to, has a clean and well thought out interface, and is easy to learn if your know a little something about autoCAD.
Here is the link to download the lsp - http://www.mediafire.com/download/yw02edj694j9enn/NumInc+NUMBERING.lsp
- Cole
I found a great lsp that does exactly what I need. It wasn't that complicated to set up and get working, though on one machine it did have trouble running the actual command inside of autoCAD, it kept giving a "missing base.dcl" warning.
It works great in that if you have multiple blocks inside a drawing, like we do, the lsp brings up a GUI window and it has a drop down where you can select the specific block you want to array. Also, if your block has multiple attributes, you can choose the one you want to increment in the array.
It works great, does what it's supposed to, has a clean and well thought out interface, and is easy to learn if your know a little something about autoCAD.
Here is the link to download the lsp - http://www.mediafire.com/download/yw02edj694j9enn/NumInc+NUMBERING.lsp
- Cole
Can't find what you're looking for? Ask the community or share your knowledge.