# Thread: Area Attribute From Linear Parameter

1. ## Area Attribute From Linear Parameter

Registered forum members do not see this ad.

Folks,

I've a drawing of a top and I need to automate the Area so it will appear in an Attribure "Area". I've 2 Linear parameters "Length & Depth". How do I set up the Attribute for the Area to feed of these two parameters and work out the area?

Also I would like to get a "cost" based on the area.

e.g. distance*distance1+A=cost

A = the colour of top (Oak, Walnut, etc)

Any ideas?????

Regards,

DECHAL.

2. Originally Posted by DECHAL
Folks,

I've a drawing of a top and I need to automate the Area so it will appear in an Attribure "Area". I've 2 Linear parameters "Length & Depth". How do I set up the Attribute for the Area to feed of these two parameters and work out the area?

Also I would like to get a "cost" based on the area.

e.g. distance*distance1+A=cost

A = the colour of top (Oak, Walnut, etc)

Any ideas?????

Regards,

DECHAL.

Hi,

You need to look at using a field. When you do your attribute you need to call your Tag AREA then in Value insert field - Select Formula then rightclick in formula and insert another field. (confused yet?) now without looking i think you now have to select object (one of your distances) then * right click and insert another field then object (the other distance) Erm i think that should work i'll go check it!
I would then extract that data to an excel spreadsheet to work out cost.

3. Check out Ronald Meneja's routine for calculating the area of a closed polyline over at cadalyst magazine's CAD Tips. Tip #2292 dated 01-Jun-2008. Link:

As for cost, what will your area output be measured in? Whatever you use will have to have a cost per unit assigned to it. Then you can calculate the total cost. Have you given this any thought?

4. nice one Remark.

As for my solution, Doh didnt work however i tried it selecting the lengths of the lines instead of selecting the distance parameters and i got the area fine. I think thats fairly easy to do.

5. My Area will be in meters squared. I've got the Area working thanks for that. Distance*distance1/1000000. This will get me the first part of my cost (per sq.m value). Any ideas on how to add another part to the formula?

Regards.

DECHAL

6. Originally Posted by DECHAL
My Area will be in meters squared. I've got the Area working thanks for that. Distance*distance1/1000000. This will get me the first part of my cost (per sq.m value). Any ideas on how to add another part to the formula?

Regards.

DECHAL
Do you really need to do it in the attribute? Easy job to do a multiplication on excel , cost x per sq.m

7. Registered forum members do not see this ad.

Would like to get Formula working out cost. Boss would love it.

I've got it this far.

distance*dictance1/1000000

What I need now is a way to get above result to be multiplied by a per sq.m changes "A" and the add on a standard charge "B".

distance*distance1/1000000*A+B (or something like that).

Is this possible?

Many Thanks.

DECHAL

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts