.NET

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

object reference not set to instatiate of object

28 Views, 0 Replies
02-28-2006 10:34 PM
iam using .net forinsertion 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());
}
}
}
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.