Display full version of the post: Displaying the Hatch Area with a Field in AutoCAD

BetweenTheLines
16.02.2010, 03:06
This is an oldie, but popular goodie and question from this blog. StarBacks BBQ Floor Space Planning with AutoCAD FIELDS So I love barbeque. People that know me can attest to this fact and I have cooked barbeque baby back ribs all over the world, even in Germany where I was paid in fine beer and compliments. Anyways I wanted to quickly demonstrate a valuable method to show the area of a Hatch object automatically as well as include the areas in a table, then with a total and when the hatched areas are changed so are the area values in the table. So in my faux dream barbeque restaurant “StarBacks” I wanted to show the areas of the customer dining and bar area, prep and pit area this is where the pit smoking of the meats is done with fine oak wood smoke, and then the kitchen area. I use the FIELD command and select Object from Field Category and then select the Hatch. Now after selecting the Hatch select the Area Property and then format the value to the decimal and precision you want and insert it. After doing this for the three areas I now have three Field text objects linked to the areas of the Hatch objects. I can create an AutoCAD Table with the TABLE command and then set my titles for the areas. Then in the cell I want the areas shown I use the Object from Field Category and select the Field text and Object property of Contents. Now the cell is linked to the Field text that is linked to the area of the Hatch. Got it, good. Of course I would like a total of the entire square footage (or meters for those lucky enough to make metric their standard). In the cell I right-click and select Insert > Formula > Equation. Now it is just like in Excel and I enter A3+B3+C3 and I get the total of those three cells. I could also use the SUM option. And there we go after some formatting of the precision to eliminate the trailing zeros I have a nice table all dynamically updating when the hatched areas update. So when I stretch the dining or bar area to increase space for more people (inevitable) the areas all update. Showing the final floor plan and table. You could use this in so many ways such as material planning, retail space allocation, and more. Fields are powerful and you can link them to attributes like lights in a plan and have a table update with the quantity and type of light including cost from the attributed light block. Fields are powerful. You can use this same technique for attaching fields to other objects such as showing the length of a polyline. Cheers, Shaan Go to the original post...