See the top rated post in this thread. Click here

Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: AutoLISP routine to calculate the total weight of steel

  1. #21
    Member
    Join Date
    2007-10
    Location
    Arlington, TX
    Posts
    20
    Login to Give a bone
    0

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

    Quote Originally Posted by jwanstaett View Post
    Witch code did you copy and pasted.


    If the error come up when you are loading the lisp file the you did not copy and pasted the code right.Try to save the file and load it, no need to copy and past. You my be missing a ( ) or " in the code you copped.



    If it was my code to display the weight and theckness on the status line.
    The command is Startarea. Then you need to do a area command.
    Use the command Setth to set the Theckness
    Use the command endarea to set the status line back to the way it was.

    If it was the CalcWt.lsp by Written by: R. Robert Bell the command is CalcWt.
    Ok, i tried yours and this is what i got...

    Command: SETTH
    ; error: Automation Error. Problem in loading VBA

    I am using acad 2012.

    When i used Roberts, it loaded...but the answer I received is not accurate. It may have to do with the units I imagine. I am using arch units to draw, so I am entering a thickness in inches to get the pounds.
    I would like to select the boundary or polyline, enter the thickness (inches) and get the weight in pounds. Thanks.

  2. #22
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

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

    for VBA to work in 2012, do you have the VBA enabler installed?

  3. #23
    Member
    Join Date
    2007-10
    Location
    Arlington, TX
    Posts
    20
    Login to Give a bone
    0

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

    I don't have the vba enabler. Any suggestions on where I can get it?

  4. #24
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

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

    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

Page 3 of 3 FirstFirst 123

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
  •