AutoCAD 2004/2005/2006

AutoCAD 2004/2005/2006

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

Solids Mass Properties - Real Weights

302 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 (302 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
CADApps
www.cadapps.com.au
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
KaJo
Posts: 3
Registered: ‎04-25-2006
Message 3 of 26 (302 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 (302 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
CADApps
www.cadapps.com.au

wrote in message news:5153230@discussion.autodesk.com...
How can I do this?
I´m not a "lisp-man" ;-)
Distinguished Contributor
dknaggert
Posts: 165
Registered: ‎01-26-2004
Message 5 of 26 (302 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
*ddpcad
Message 6 of 26 (302 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 :smileyhappy:
Distinguished Contributor
dknaggert
Posts: 165
Registered: ‎01-26-2004
Message 7 of 26 (302 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
JJ_horizon
Posts: 11
Registered: ‎02-27-2006
Message 8 of 26 (302 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
dknaggert
Posts: 165
Registered: ‎01-26-2004
Message 9 of 26 (302 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
*ddpcad
Message 10 of 26 (302 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
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.