I also have a simple request how can I add this to the code?
Dim vfacecount As Long
facecount = swBody.GetFaceCount
Function GetFaceCount() As Long
Member of SldWorks.Body2
Gets the face count for this body
this is driving me crazy
Thank you, Thank you, Thank you Artem
This is a big help.
I am still working on
1. Get number of internal features
2. Get number of bends.
extra would be to get a ruff flat size without unfolding.
Thanks again I will have to figure this out...
thread559-120327 Was closed.
I am looking to do the same thing.
I would like to find a way to get the perimeter from a model in it's formed state. I currently have a good start and need two things.
1. Get a hole number.
2. Get number of bends
3. Get it to count multiple edges.
In the last...
Help.
Trying to get the perimeter and hole count of a 3D model without unfolding it. I have so far
Option Explicit
Sub main()
Dim swApp As SldWorks.SldWorks
Dim swModel As SldWorks.ModelDoc
Dim swSelMgr As...