NET start > .NET newbies
How can i view an ACAD file using DOTNET
(1/1)
jkarthick89:
target audience:{intermediate}
hi,
I'm just a beginner in developing ACAD applications with my proficient DOTNET
I have started it with adding DLL with my application. First, i added ACDBMGD.DLL in my project. It contains many members like(Point2d,Point3d...etc)
As a first step i like to draw an line using my application...I used the below code...(It was in C#)
Point2d p1=new Point2d(0,0);
Point2d p2=new Point2d(35,30);
line s=new line(p1,p2);
This above code sounds like "FILENOTFOUND EXCEPTION"
Am i need to load ACAD file anywhere?? Actually, i did it in my application startup path...but still i'm facing this....Am looking for your suggestions...Please
(gile):
Hi,
You have to to reference at least acdbmgd.dll and acmgd.dll
Have a look at:
http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html
Kerry:
--- Quote from: jkarthick89 on February 10, 2011, 07:53:24 AM ---
target audience:{intermediate}
hi,
Point2d p1=new Point2d(0,0);
Point2d p2=new Point2d(35,30);
line s=new line(p1,p2);
This above code sounds like "FILENOTFOUND EXCEPTION"
--- End quote ---
What are you developing with ??
The IDE should tell you that line is not recognised
The Class is Line.
Navigation
[0] Message Index
Go to full version