Yes, that's it. The problem is that you have to copy the variable in the properties of the welded parts list each time... To be able to copy the variable, you have to remove the " linked " checkmark (which I don't fully understand, by the way).
I wonder if there is a way to " call " this variable with a text like $PRP"TOTAL LENGHT" (which doesn't work by the way...).
If it's really recurring, one way could be to put this property in the room model. (. PRTDOT) On the other hand, I don't have a precise idea of how to get there and to be honest I don't have a little time to do the tests myself .
Good luck in your search.
PS: I believe that body PRPs only work in welded parts lists or bills of materials with the " Detailed list of welded parts" option. To check
By redoing a test, if the welded construction has a unique reference (for the 058796), it is possible to make a property line at the level of the welded construction function formatted as follows:
It will then propagate in all the articles and retrieve the length value associated with each article in the list (it updates the increment of the article in the list).
I believe that the need here is to put a property in the part and not in the mechanically welded bodies.
For me it would be enough to copy the variable as I did in my previous message, then save the document as a part template.
but I ask myself questions... The Total Lenght property includes the info of the type of mechanically welded elements it is (example: hollow square tube 50×3 steel) So, if you make a round tube it doesn't work anymore? The day you have 2 different types of profile in the same room, how does it work?
In fact, I come to wonder what the objective behind it is... Would a bill of materials with the "Detailed list of welded parts" option not meet the need?
Hi @twathle , Exactly, read a little diagonally. Copying the property does work but yes if the item type changes it's dead. For my part, it doesn't show me the type of element, it only shows me a tree structure with the name " Article-list-of-welded-parts" in the header (n being an increment). I don't do a lot of welded constructions so I don't have files with different types of profiles (in this case the model in my example is square profiles called Square 20x20)
In this case, the solution of @twathle seems good to me. You have to create a template for a document. For existing ones, a snippet of code (macro) will do the trick to add and format the property
Unfortunately, I don't think so... because you'll have to create a doc template for each profile you have... 50×3 Steel 50×5 Steel 50×3 Stainless Steel 50×5 Stainless Steel UPN80 Steel UPN100 Steel UPN120 Steel
ETC...
very long and unmanageable in the event of future developments...
maybe see with a new column in your nomenclature? a column whose value would be an equation equal to " name " + " total lenght " + " ... »
I think I've managed to create a macro that takes the name of the first part from the list of soldered parts in the tree, and uses it to complete my NoArticle property as I wish:
XXXXXX THE "TOTAL LENGTH@@@Article-welded-parts-list1@SW-File Name.SLDPRT"
I'm going to continue with this idea! Thank you so much for the leads!