+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Full Member DECHAL's Avatar
    Computer Details
    DECHAL's Computer Details
    Operating System:
    Windows XP
    Computer:
    Dell Precision Laptop
    Motherboard:
    ?
    CPU:
    Intel ?
    RAM:
    ?
    Monitor:
    21" Flat Screen (Dell)
    Using
    AutoCAD 2013
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    61

    Default 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. #2
    Super Member JBullseye74's Avatar
    Discipline
    Construction
    JBullseye74's Discipline Details
    Occupation
    Facade Designer
    Discipline
    Construction
    Using
    AutoCAD 2013
    Join Date
    Feb 2006
    Location
    UK North West
    Posts
    768

    Default

    Quote Originally Posted by DECHAL View Post
    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.
    AutoCAD 2010

    '"Accept that some days you're the pigeon, and some days you're the statue."

  3. #3
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,127

    Default

    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/...osed-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?
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  4. #4
    Super Member JBullseye74's Avatar
    Discipline
    Construction
    JBullseye74's Discipline Details
    Occupation
    Facade Designer
    Discipline
    Construction
    Using
    AutoCAD 2013
    Join Date
    Feb 2006
    Location
    UK North West
    Posts
    768

    Default

    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.
    AutoCAD 2010

    '"Accept that some days you're the pigeon, and some days you're the statue."

  5. #5
    Full Member DECHAL's Avatar
    Computer Details
    DECHAL's Computer Details
    Operating System:
    Windows XP
    Computer:
    Dell Precision Laptop
    Motherboard:
    ?
    CPU:
    Intel ?
    RAM:
    ?
    Monitor:
    21" Flat Screen (Dell)
    Using
    AutoCAD 2013
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    61

    Default

    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. #6
    Super Member JBullseye74's Avatar
    Discipline
    Construction
    JBullseye74's Discipline Details
    Occupation
    Facade Designer
    Discipline
    Construction
    Using
    AutoCAD 2013
    Join Date
    Feb 2006
    Location
    UK North West
    Posts
    768

    Default

    Quote Originally Posted by DECHAL View Post
    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
    AutoCAD 2010

    '"Accept that some days you're the pigeon, and some days you're the statue."

  7. #7
    Full Member DECHAL's Avatar
    Computer Details
    DECHAL's Computer Details
    Operating System:
    Windows XP
    Computer:
    Dell Precision Laptop
    Motherboard:
    ?
    CPU:
    Intel ?
    RAM:
    ?
    Monitor:
    21" Flat Screen (Dell)
    Using
    AutoCAD 2013
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    61

    Default

    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

Similar Threads

  1. assembly and dynamic parameter ?
    By jkristia in forum SolidWorks
    Replies: 2
    Last Post: 28th Dec 2008, 09:29 pm
  2. Array a parameter?
    By Critzman in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 16th Oct 2008, 03:53 pm
  3. Dynamic block- Visibility Parameter?
    By KnoJa31 in forum AutoCAD General
    Replies: 1
    Last Post: 10th Sep 2008, 12:15 am
  4. Visibility Parameter not Showing
    By nocturne00 in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 5th Sep 2008, 12:29 pm
  5. rotation parameter (dynamic blocks)
    By chrisdarmanin in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 27th Feb 2008, 08:42 am

Bookmarks

Posting Permissions

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