Hi guys
I've got a bit of a problem with the offset-method in autoCAD VBA. It works a charm with LWpoly's but 2Dpolylines or other polylines with X,Y and Z-coords don't seem to go through the method, creating the variant array varObjArr. Any help is appreciated!
Dim varObjArr As Variant
Dim aEnt As AcadEntity
Dim aLine2 As AcadPolyline
Dim Coords2 As Variant
[... part that works with acadlwpolylines...]
ElseIf TypeOf aEnt Is AcadPolyline Then
Set aLine2 = aEnt
varObjArr = aLine2.Offset(-0.001)
Set aLine2 = varObjArr(0)
Coords2 = aLine2.Coordinates
aLine2.Delete
End If