This is what i am looking for. i picked all references related AutoCAD. i am using AUtoCAD map 2004. i faced this Error Kindly Check it. give me solution friends. Please !
Code:
For i = 1 To UBound(lineData, 1) ;gor Error here as "Run time Error 33, type Mismatch
Dim startPt(0 To 2) As Double
Dim endPt(0 To 2) As Double
startPt(0) = CDbl(lineData(i, 1)): startPt(1) = CDbl(lineData(i, 2)): startPt(2) = 0#
endPt(0) = CDbl(lineData(i, 3)): endPt(1) = CDbl(lineData(i, 4)): endPt(2) = 0#
Set oLine = aspace.AddLine(startPt, endPt)
Next i
Originally Posted by
fixo
I'm working on A2009 only
You can try open VBA editor (Alt+F11 in Excel)
then go to Tools->References and change AutoCAD XXXX Object Library
on your current version - it would be marked as *MISSING* in there
Unfortunatelly I know nothing about VBA and LT release, sorry
~'J'~