Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SVS. Vdkamp05/12/2017
Good day,
Is there someone that can maybe help me out and modify the macro i attached? This is a Macro Deepak made(and that i found on the internet.)
I would like to get information from the "Cut List" and cory that to my "Custom Properties"
What I would like to see in this macro is:
- Total Contour Length (mm)(this is actually "Cutting Length-Outer" + "Cutting Length-Inner", wich will give me a total Contour length)
- Start Points (Amount of "CutOuts" +1(and the 1 will actually be outer contour) Reason is for a big sheetmetal plate with lots of holes i will be able to see how many startpoints there will be for the laser/plasma/waterjet cutter
- Bounding Box Length (mm)
- Bounding Box Width (mm)
- Surface Area (mm2) (iModel surface area, not the bounding box surf area)
- Mass (kg)
In the macro attached you will see Bounding Box Length/Width, but I really dont know how to add the others. I have tried it, but sure, I don't understand this.
Would there be someone that can do it for me? Sure it will be actually just copy/paste and text change, but I really don't know how. After my changes SolidWorks ends with: "fatal Error"..........