Does the macro actually export multi bodies ? I am having a hard time exporting as dxf multi part bodies. It only exports one body.
Hello,
I just checked the one on this thread & it only gives me 1 DXF also. The modified one that I actually use is here https://forum.cadmunity.com/t/my-macros/137/1 under post 4 by Jaylin Hochstetler. Which is where I maybe should have directed you.
But again I had modified the one I use to do what I wanted! (I also wanted quantities which is kind of hit miss. If you have a multibody part linear patterned in an assembly it doesn’t count correctly).
I have just discovered that the macro that I was referring to above is no longer in that thread. I am attaching the current version that I am using here in this thread.
DXF Export For Parts (With Material and PARTNUMBER).zip (57.3 KB)
if you read the codestack page of that macro: you need to run another macro. this macro uses unique components and that is the reason you don’t have assembly quantities.
In order to include the component quantity in the assembly, use the Write component quantity in the SOLIDWORKS assembly to custom property macro. Run this macro before exporting to create custom property with the quantity value and then use <$CLPRP:Qty> placeholder in order to include this into the output file name.
Note, this macro will not multiple the quantity of multi-body sheet metal part and the component quantity