AnsweredAssumed Answered

How to add individual parameters in Import Dxf/Dwg tool?

Question asked by Danish Shaikh on Oct 25, 2018
Latest reply on Oct 27, 2018 by Danniel Sims

Dear All,

I am trying to modify a macro,


        ' Get the specified DXF/DWG import data

Dim importData As SldWorks.ImportDxfDwgData

Dim bRet As Boolean

Set importData = swApp.GetImportFileData(docFileName)

'Center imported DWG

bRet = importData.SetPosition("", swDwgEntitiesCentered, 0, 0)


in which i want to

1)set units to millimeter,

2)and set page size to lets say for eg:

A1, A2, A3, A4 etc.


How can i add those paramters. ??

( I already have added paramter to bring sheet to centre)