.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imports Autodesk.AutoCAD.Geometry

1 REPLY 1
Reply
Message 1 of 2
monaliza007
370 Views, 1 Reply

Imports Autodesk.AutoCAD.Geometry

Hi all,
I just upgraded my code from VB6 to VB 2005 Express .NET. At first I thought it will be a smooth upgrade but it was not. I had many errors in the code upgraded to .NET. the original VB6 application reads the PolyLine in ADT drawing and extracts the X,Y,Z point coordinates into a text file.
I have referenced all he libraries in the project. But I do not seem to Dim as AcadLWPolyline. I think the problem is that I do not have rerence to [Imports Autodesk.AutoCAD.Geometry]. But when I add the ‘Imports’ decalartion it the beginning of the file I still gete and error saying [Autodesk.AutoCAD.Interop.AcadLWPolyline is not defined]. And this highlights this line in my code:
Dim polylineObject As Autodesk.AutoCAD.Interop.AcadLWPolyline
I will really appreciate your help in this
1 REPLY 1
Message 2 of 2
NathTay
in reply to: monaliza007

What libraries have you referenced?

Regards - Nathan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost