I want to extract from all the weld symbols on the drawing the dimensions pertaining to length of the welding seam, sum it and add a property with total lenght.
It's hard, it's possible??
I create a macro to put the weld symbol... From now, with this macro i want to put all weld symbols in the drawing.
I want to be so: For each entry, meaning that each symbol introduced, the macro make, from example:
1 entry: 100x2 = 200 in red label
2 entry: 10x1=10 in blue label
3 entry: 220x2=440 in green label and in purple label to put the total 200+10+440 (650)
OR, Can anyone tell me OTHER METHOD to save all entry input and make the operations in another way?
This all seems quite elaborate if you're just wanting to calculate the total length of welding in the part.
You can use a weld table 2012 SOLIDWORKS Help - Weld Tables . Once you have the table in your drawing, you can add a column to multiple the length of weld by the quantity, then add a row so you can use the empty cell to perform a sum function.
I need a total to add with it a property
Weld lengths can be interpreted in different ways.
Not sure a weld table would give him the correct total length of weld used, unless all he is interested in knowing is the total length of a particular sized weld.
For example if I have a 30mm fillet weld going for 1000mm then the weld table shows the 30mm weld length as 1000mm.
However you would not deposit a 30mm weld in one pass you would use multiple passes, say for example 7 passes.
So the over all length of weld used to create the 30mm fillet would be 1000 x 7 = 7000mm.
Also weld bead weights do not get added to the assembly weight. Bit strange if your assembly is weight critical.
Fair enough. You can adjust the number of passes in the weld properties dialog. Add this column to your table and add it to your equations.
Apologies, the number of passes seems to be a useless property. You can add a column for the notes though.
I was just about to reply that the No of passes was not available from the drop down list when creating a new column.
Agreed that you can add a note in a new column with a qty of passes req'd and times that by the length to get overall length of weld required.
However this sort of info should be automatically available. Which I believe was the intent of the OP.
I was involved in a discussion a few months ago about the weld bead function in SolidWorks and the general thought was that it's not up to much at present.
With a bit of luck there will be improvement's in the 2016 release.
It does appear to be left behind somewhat. Tables in general could use some modernising, then multiple functions could be improved simultaneously.
Also see the thread called 'Weld Type' to see issues with butt welds.
I think welds in general need a massive overhaul, I never sow them in the model, just detail weld symbols in the drawing
It's possible to extract this value, sum it and add a property?
I cannot think of a way to get this information to populate a custom property list.
I assume you want to add the 1757.39 with the 1650 = 3407.39mm to get a total length of weld, then have this show in a custom list to then automatically populate some weld length information on a drawing.
I would guess that it you would have to manually type the total length in.
Unless someone could create a macro, (not sure if this would be even possible).
Retrieving data ...