DXF/DWG export problem

When I record in dxf or dwg my 3D views don't appear (3D a bit heavy without more)

Only the bubbles / the nomenclature and the cartridge!!

Thank you for your help

1 Like

Hello.

 

What options are checked when creating the DXF? It must be a matter of leaf scale and not of view

Hello

Maybe a problem with the quality of the views? Already encountered this problem with draft-quality views on some assembly drawings.

1 Like

Hello, be careful, if you have made speedpaks they do not appear when exporting! The same goes for some cuts on different scales.

Kind regards

Good morning (4:32 pm)

I have a macro to save in DWG, try to see it:

Dim swApp As Object
Dim Part As Object
Dim SelMgr As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long
Dim Feature As Object
Sub main()

Set swApp = Application.SldWorks

Set Part = swApp.ActiveDoc
Set SelMgr = Part.SelectionManager
Set swModel = swApp.ActiveDoc

sPathName = swModel.GetPathName 'Get File Name & Path
Extension = Right(sPathName, 6) 'Determine File Type

'Try Again if Not "SLDDRW"
If Extension <> "SLDDRW" Then
    MsgBox ("Current Document Is Not . SLDDRW")
    End
End If
    
'Save as DXF
SaveDXF:

sPathName = Left(sPathName, Len(sPathName) - 6) 'Remove "SLDDRW" Extension
sPathName = sPathName + "dxf" 'Add "DXF" Extension

Set fso = CreateObject("Scripting.FileSystemObject") 'Check if file exists
If (fso. FileExists(sPathName)) Then 'If file exists
    If MsgBox("Overwrite" & sPathName & "?", vbYesNo) = vbNo Then' Ask if want to overwrite file
    End If
End If
Part.SaveAs2 sPathName, 0, True, False 'Save file if file does not exist or if choose vbYes

End Sub

Hello, is this the last sp available for Solidworks? SP3 for 2016 and sp5 before? Is it the same for other positions? Trying a second time after a restart is it the same?

1 Like

As .PL says, sometimes you just have to close and restart solidworks in order to empty the RAM just before exporting.