Member
Posts: 3
Registered: ‎04-25-2006
Message 1 of 26 (266 Views)

# Solids Mass Properties - Real Weights

266 Views, 25 Replies
04-25-2006 12:25 AM
With the command massprop you can see mass and volume of a 3D solid.
But if you want to have the real weight of this solid, for example in steel, you have to multiplicate the volume with the specific weight of steel (7,86 kg/dm2).
Is there a Lisp Program for AutoCAD 2006 to automate this function?
Or to query different materials, like steel, wood, aluminum, stone,...?

This would be great!

Thanks.
*Laurie Comerford
Message 2 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 12:45 AM in reply to: KaJo
Hi,

Why not write one yourself?

--

Laurie Comerford
wrote in message news:5153193@discussion.autodesk.com...
With the command massprop you can see mass and volume of a 3D solid.
But if you want to have the real weight of this solid, for example in steel,
you have to multiplicate the volume with the specific weight of steel (7,86
kg/dm2).
Is there a Lisp Program for AutoCAD 2006 to automate this function?
Or to query different materials, like steel, wood, aluminum, stone,...?

This would be great!

Thanks.
Member
Posts: 3
Registered: ‎04-25-2006
Message 3 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 01:06 AM in reply to: KaJo
How can I do this?
I´m not a "lisp-man" ;-)
*Laurie Comerford
Message 4 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 05:36 AM in reply to: KaJo
Hi,

I'd do it in VBA.

All you need is a form with:
a listbox of materials;
a button to select an object;
a button to exit when you are finished;
and a case statement based on the material to give a multiplication factor
and a msgbox to report the result each tine you select an object.

--

Laurie Comerford

wrote in message news:5153230@discussion.autodesk.com...
How can I do this?
I´m not a "lisp-man" ;-)
Distinguished Contributor
Posts: 165
Registered: ‎01-26-2004
Message 5 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 09:56 AM in reply to: KaJo
Hi,
Yes, there is, although I haven't tried it yet myself. Had no need until now, so you can be the guinea pig.
Regards
Message 6 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 11:56 AM in reply to: KaJo
dknaggert wrote:
> Hi,
> Yes, there is, although I haven't tried it yet myself. Had no need until now, so you can be the guinea pig.
> Regards

that's cool if you happen to understand German
Distinguished Contributor
Posts: 165
Registered: ‎01-26-2004
Message 7 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 12:48 PM in reply to: KaJo
Hi,
I didn't know that. But is the source is there, I'll translate for you. Like I said, I haven't used it before.
Regards
Contributor
Posts: 11
Registered: ‎02-27-2006
Message 8 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 01:56 PM in reply to: KaJo
i was wondering if you could translate a copy for me also. thanks

J.
Distinguished Contributor
Posts: 165
Registered: ‎01-26-2004
Message 9 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 02:44 PM in reply to: KaJo
Hi,
You can fight over it or each can take a separate copy.Of course, you can customize it by adding more materials or make it more accurate. I did the best I could.
Regards

P.S. I was just going to check it with a 1.0 cu-in block for accuracy and it gave me an error message, yet it worked before on a different body?? I'll keep you posted - although I am probably as good in lisp as you are, I know next to nothing. Message was edited by: dknaggert
Message 10 of 26 (266 Views)

# Re: Solids Mass Properties - Real Weights

04-25-2006 02:49 PM in reply to: KaJo
dknaggert wrote:
> Hi,
> I didn't know that. But is the source is there, I'll translate for you. Like I said, I haven't used it before.
> Regards

the source is there. If you could translate that'd be cool!
Dave

### You are not logged in.

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

### Maintenance Subscription Resources

Upgrading to a 2015 product? Make sure to check these out 1st!