I dont want to export hidden sketches(want to export only shown sketches) while exporting to dxf/dwg so i'm using drwing file (NewDocument) and CreateFlatPatternViewFromModelView API. But the shown sketches too are not exported.
When i manually do(please watch the attached video) sketches are exported, but not through API. Please provide me a solution.
The following is the macro i created, but not exporting the sketched as expected.
Set swApp = _
Set Part = swApp.ActiveDoc
Set Part = swApp.NewDocument("C:\ProgramData\SolidWorks\SolidWorks 2013\templates\Drawing.drwdot", 2, 0.2794, 0.4318)