.NET

Reply
Active Member
jayapradha
Posts: 7
Registered: ‎02-28-2006
Message 1 of 1 (32 Views)

object reference not set to instatiate of object in .net

32 Views, 0 Replies
02-28-2006 10:39 PM
i am using .net for insertion Point as Object.


public class Class1
{
public void test()
{
AcadDocument aDoc = (AcadDocument)Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.AcadDocument;
double[] input = null;//new double[];
input = (double[])(aDoc.Utility.GetPoint(System.Type.Missing, "\rPick a point: "));
foreach(double point in input)
{
System.Diagnostics.Debug.WriteLine(point.ToString());
}
}
}

Thanqs in advance
jaya
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.