Repetitive Text values in a dwg
For my autocad template I’ve been trying to find the perfect way to enter a Text (or numerical) into a cad dwg only one time and have it automatically populate all of the desired locations throughout the drawing.
examples: Project #, Surveyor Name, Stamp #, Section #, Township#, Range#, County Name and small handful more that may be scattered in a a few spots throughout a typical project or upwards a a few dozen in some more complex projects.
I first tried using “FIELDS” in conjunction with “DWGPROPS”. This is perfect! Exactly what I need. With one exception – if you copy/cut and then paste into a new drawing, the “FIELDS” in the new drawing lose their value and are replaced with “###########”. I don’t often copy/paste from one drawing to another but it happens often enough where I looked for a different solution.
I next tried using the “FIND” command and the “REPLACE” function within the dialogue box. In my template I replaced all of the “FIELDS” with just a unique text string. So where I had a “FIELD” for County Name I now just have text that is “xCOUNTYx”. I then run the “FIND” command and find all text matching “xCOUNTYx” and use the “REPLACE” function to replace it with the desired county name. The find “FIND” command has an option to look inside of blocks to replace and matching text contained within a block. But this is not working consistently for me. It misses some blocks for unknown reasons. And it is also quite a bit more time consuming than the “DWGPROPS” method as you need to run the “FIND” command numerous times and manually type in each text string you want to replace.
Just seeing if anyone else might have other solutions before I give up on this idea. Using C3D/AutoCAD 2024.
Log in to reply.