Not sure if this is possible but is there a macro out there that when saving your DXF it compares the DXF orientation to the DWG flat pattern orientation and spits out whether or not it is flipped before proceeding with the save?
Why you need to that. Are you seeing/getting any errors?
We have had some issues with the dxf being flipped incorrectly, Scale is incorrect sometimes
Is that via a macro or direct export.
The way that we do it is the second tab of a drawing in solidworks the person will do a save as a DXF of the part in the flatten state.
Do you mean that have another sheet in the drawing with flat patten view and you export they sheet as DXF.
That is correct. We have the main sheet which is our drawing with all of our dimensions on it for the floor to make. Then We set up a second sheet for our Flat pattern part at full scale.
Why don't you export it directly from the part?
Thats not the way that we do it with our company. We need to have the actual part. I know that you can do this from the piece part but our standard here is to have a second page that will show the flat pattern. Sorry.
Brian, I'm not saying to stop the practice of adding the second sheet for flat pattern but create the DXF from part. You can use the macro to do that i.e. macro would export the flat pattern DXF from the part while you've the drawing open and active. Will that work for you??
Thant might. I can look at it. We just need something to help us as fa as making sure that the DXF is correct and not flipped from the drawing page. Just a a couble check.
Brian, I'll have a macro for you test by the weekend.
Brain try this macro which would open the referenced sheet metal part from the drawing and create a flat pattern dxf in the same folder as part model.
The macro has been made on SW2013. So in case you're using SW2014 then check this video on changing the references. Fix-Update SOLIDWORKS Macro References
Did you send the macro? have nothing on here that I can see. Just the Youtube file
You need to download the attachment.
Where's the attachment? Not seeing anywhere.
Can this macro be modified to compare the orientation of the flat pattern and the DXF. To make sure that the front plane and orgin in the drawing matches the front plane and orgin of the dxf. Then if these do not match it would flag you stating that the planes do not coinside with each other. For example say we have a drawing with treadplate facing up and the DXF we need to have the treadplate facing down but the dxf was done with it facing up which thows of the cutouts that might be in the piece part to the incorrect side.
That may be quite possible but I've no idea on how to do that.
Retrieving data ...