DECHAL Posted February 3, 2009 Posted February 3, 2009 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. Quote
JBullseye74 Posted February 3, 2009 Posted February 3, 2009 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. Quote
ReMark Posted February 3, 2009 Posted February 3, 2009 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: http://cadtips.cadalyst.com/content/tip-2292-area-closed-polylines 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? Quote
JBullseye74 Posted February 3, 2009 Posted February 3, 2009 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. :wink: Quote
DECHAL Posted February 3, 2009 Author Posted February 3, 2009 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 Quote
JBullseye74 Posted February 3, 2009 Posted February 3, 2009 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 Quote
DECHAL Posted February 4, 2009 Author Posted February 4, 2009 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.