See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 24

Thread: AutoLISP routine to calculate the total weight of steel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Certifiable AUGI Addict robert.1.hall72202's Avatar
    Join Date
    2004-07
    Location
    Detroit Michigan
    Posts
    2,508
    Login to Give a bone
    0

    Default AutoLISP routine to calculate the total weight of steel

    Im not real good with lisp so I am asking to see if anyone can create a really useful, but Im guessing quick to make, lisp routine......what I need is a lisp that takes the
    area of a 2d object, asks for a material thickness to be input, and completes this calculation (area) x (thickness/25.4) x (.2833) whereas thickness in in millimeters and .2833 is the density of steel. This would calculate an weight estimation.
    Any help would be appreciated
    Last edited by Robert.Hall; 2004-08-16 at 05:59 PM.

  2. #2
    Active Member
    Join Date
    2003-11
    Location
    YUL
    Posts
    75
    Login to Give a bone
    0

    Default Re: AutoLISP routine to calculate the total weight of steel

    See if this helps.
    Paul.
    Attached Files Attached Files

  3. #3
    Certifiable AUGI Addict robert.1.hall72202's Avatar
    Join Date
    2004-07
    Location
    Detroit Michigan
    Posts
    2,508
    Login to Give a bone
    0

    Default Re: AutoLISP routine to calculate the total weight of steel

    That is a neat lisp routine but I am looking for a quick lisp routine
    for a flat blank.....ie blank area X thickness X density
    My drawings are basically 2d, steel blanks, that sometimes have
    cutouts.

  4. #4
    Active Member
    Join Date
    2003-11
    Location
    YUL
    Posts
    75
    Login to Give a bone
    0

    Default Re: AutoLISP routine to calculate the total weight of steel

    ...then it must be this one......
    Attached Files Attached Files

  5. #5
    Certifiable AUGI Addict robert.1.hall72202's Avatar
    Join Date
    2004-07
    Location
    Detroit Michigan
    Posts
    2,508
    Login to Give a bone
    0

    Default Re: AutoLISP routine to calculate the total weight of steel

    Not quite,, the area should be from the area command, so I can pick an object on the screen. Density is also a constant, all we use is steel .2833

  6. #6
    Revit Mararishi aaronrumple's Avatar
    Join Date
    2002-02
    Location
    St. Louis, MO
    Posts
    4,695
    Login to Give a bone
    0

    Default Re: AutoLISP routine to calculate the total weight of steel

    You might consider going 3D. Extrude a region to the thicknes needed and you'll have your mass. You can then use the MASSPROP command to list out all sorts of structural properties and even write the data to a text file. All of this is automatic in 3D. No lisp needed.

  7. #7
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: AutoLISP routine to calculate the total weight of steel

    Does the area need to be adjusted to inches also? Or are the objects drawing with units defined as inches?

  8. #8
    Certifiable AUGI Addict robert.1.hall72202's Avatar
    Join Date
    2004-07
    Location
    Detroit Michigan
    Posts
    2,508
    Login to Give a bone
    0

    Thumbs up Re: AutoLISP routine to calculate the total weight of steel

    Drawing units are in inches...so its ok to use .2833 in the calculation.

  9. #9
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Lightbulb Re: AutoLISP routine to calculate the total weight of steel

    Attached is a program that does what I think you want.
    Attached Files Attached Files
    Last edited by RobertB; 2004-08-19 at 07:47 PM.

  10. #10
    Certifiable AUGI Addict robert.1.hall72202's Avatar
    Join Date
    2004-07
    Location
    Detroit Michigan
    Posts
    2,508
    Login to Give a bone
    0

    Talking Re: AutoLISP routine to calculate the total weight of steel

    That is awesome, me likey, me likey....one last quick favor, can you make the output
    be in KG. Your a lifesaver, I do this calculation daily.

Page 1 of 2 12 LastLast

Similar Threads

  1. calculate the total length of a group of polylines
    By eebryant in forum AutoCAD Map 3D - General
    Replies: 3
    Last Post: 2008-10-20, 06:36 PM
  2. Calculate weight
    By Ed Jobe in forum ACA General
    Replies: 16
    Last Post: 2008-04-14, 02:16 PM
  3. Calculate Steel Weight
    By nick.beaven in forum Revit Structure - Wish List
    Replies: 0
    Last Post: 2007-12-17, 02:56 PM
  4. total building weight
    By Steve Jager in forum Revit Structure - General
    Replies: 1
    Last Post: 2006-11-01, 05:46 AM
  5. Total building weight
    By Steve Jager in forum Revit Architecture - General
    Replies: 1
    Last Post: 2006-10-31, 03:55 PM

Posting Permissions

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