Is this possible, area of a sheetmetal part (square area)
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Is this possible, area of a sheetmetal part (square area)

 
Post new topic   Reply to topic    CADForums.net Forum Index -> SolidWorks
Author Message
SW Monkey
Guest





Posted: Tue Nov 22, 2005 9:10 pm    Post subject: Is this possible, area of a sheetmetal part (square area) Reply with quote

I know that if you click on a face, and use the measure tool,
SolidWorks will give you the area of that face. If the part has a hole
or multiple holes in, this area isnt calcualted. What I need though is
the square area of the part. In the example image below, the hole in
the center would most likely be scrapped, unless someone nested a small
part in that area (which doesnt happen much here).

Is there a way to get this value automatically? Macro maybe?

http://img.photobucket.com/albums/v154/3eleven/SolidWorks/sheetmetal.jpg

Back to top
Jerry Steiger
Guest





Posted: Tue Nov 22, 2005 9:10 pm    Post subject: Re: Is this possible, area of a sheetmetal part (square area Reply with quote

"SW Monkey" <google311.50.spydermonkey@spamgourmet.com> wrote in message
news:1132680038.619004.120060@g44g2000cwa.googlegroups.com...
Quote:
I know that if you click on a face, and use the measure tool,
SolidWorks will give you the area of that face. If the part has a hole
or multiple holes in, this area isnt calcualted. What I need though is
the square area of the part. In the example image below, the hole in
the center would most likely be scrapped, unless someone nested a small
part in that area (which doesnt happen much here).

Is there a way to get this value automatically? Macro maybe?


This isn't automatic, but you could offset a surface from the part (offset
0), then delete the hole or holes in the surface, then measure the area of
the surface.

Jerry Steiger
Tripod Data Systems
"take the garbage out, dear"
Back to top
Brian
Guest





Posted: Wed Nov 23, 2005 1:10 am    Post subject: Re: Is this possible, area of a sheetmetal part (square area Reply with quote

You might try this. Preconditions are in a part, a face pre-selected.
It should insert a sketch on the face, convert edges, then create a planer
surface, and exit the sketch. That should give you a surface, without any
holes, that you can use the measure tool on. Insert this below the standard
header info of a macro. Written for 2006.

Sub main()

Set swApp = Application.SldWorks

Set Part = swApp.ActiveDoc
Set SelMgr = Part.SelectionManager
Part.InsertSketch2 True
boolstatus = Part.SketchUseEdge2(False)
Part.InsertPlanarRefSurface
Part.ClearSelection2 True
End Sub


"Jerry Steiger" <jerrys@tdsway.garbage.com> wrote in message
news:3uhdbaF10qq81U1@individual.net...
Quote:
"SW Monkey" <google311.50.spydermonkey@spamgourmet.com> wrote in message
news:1132680038.619004.120060@g44g2000cwa.googlegroups.com...
I know that if you click on a face, and use the measure tool,
SolidWorks will give you the area of that face. If the part has a hole
or multiple holes in, this area isnt calcualted. What I need though is
the square area of the part. In the example image below, the hole in
the center would most likely be scrapped, unless someone nested a small
part in that area (which doesnt happen much here).

Is there a way to get this value automatically? Macro maybe?


This isn't automatic, but you could offset a surface from the part (offset
0), then delete the hole or holes in the surface, then measure the area of
the surface.

Jerry Steiger
Tripod Data Systems
"take the garbage out, dear"





----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Back to top
SW Monkey
Guest





Posted: Mon Nov 28, 2005 5:10 pm    Post subject: Re: Is this possible, area of a sheetmetal part (square area Reply with quote

Thanks Brian for that macro. Im going to try and add to it where it
automatically spits out the surface area and then deletes the feature
created.
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> SolidWorks All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB