Diesel Code to calculate amounts according to Visibility State of the Attribute

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everybody,
I created an attribute block named, MARKUP. It has different visibility states such as; B, L ... These are the conditions for the building facade inspections in different drops. For example, B show Brick problems and L shows Lintel problems. When I select the B in the Visibility dropdown menu, a dynamic rectangular appears in the block and I can define the damaged area with this. And I calculate the area automatically with the Area Field as Square Feet.
If I select the L in the dropdown menu, then a dynamic line appears and I can define the length of the lintel with the Length field as Feet.
And I also define the drops to separate different parts of the building. This is very important. (Ex. N2 is a drop)
Now my problem is, I want to calculate the sum of each condition on each drop separately in Fields. I need to create the table in the attached photo. So I should write a Diesel Code. I'm using Autocad LT and I'm new in Diesel Commands. How can I do it?