Hi,
I am migrating some of my VBA code to .Net and thought I had found an easy routine to practice on. I may be wrong! I bring (upto) 3 dxf files into a single drawing and then save the file. To do this I use the following sub
Public Sub DxfImport(myFile As String)
Dim P1(0 To 2) As Double
Dim myScale As Double
Dim myTest
If Right$(myFile, 4) <> ".dxf" Then myFile = myFile & ".dxf"
myTest = Dir$(myFile)
If myTest <> "" Then
P1(0) = 0: P1(1) = 0: P1(2) = 0
myScale = 1
ThisDrawing.Import myFile, P1, myScale
End If
End Sub
What I can't find is a .Net equivalent of the
ThisDrawing.Import myFile, P1, myScale
line. Is there such a thing and if there is, how do I access it?
(this is the VBA Import, not the AutoCAD import)