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

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

Anonymous
Not applicable
682 Views
0 Replies
Message 1 of 1

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

Anonymous
Not applicable

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?Screenshot_3.jpgScreenshot_4.jpg
Screenshot_1.jpgScreenshot_2.jpg

0 Likes
683 Views
0 Replies
Replies (0)