AnsweredAssumed Answered

How can I create a cross section with specific step that outputs volume and height of different parts of a body?

Question asked by Pascal Kinghtly on Mar 5, 2018
Latest reply on Mar 5, 2018 by John Pesaturo

Ok, let me set it with more details. Assume I have a body length width height, specific geometry, let's say a tube. I need to cut it and have 10 pieces from zero to max height (which will have different shapes) with a macro command is it feasible in Visual basic? So assume that I begin from zero, I apply 5 mm up, I get the volume (calculated) then plus 5 mm again the volume etc. I need both the volume and the surface mm^2.

 

Can the solidworks give me a vector as an output like this?

                                                  volume1 height1 surface1

                                                  volume2 height2 surface2

etc..

 

Can I dashes automatically which will indicate these volumes?

Last, could this cad be exported as .png format?

 

Excuse me but I don't know anything about macros. I used Solidworks in the past as a student and I am trying to figure out if there is a way to do it before I invest time on this, it is really preliminary phase. Please explain with an example whether this is feasible. Thank you !

Outcomes