.NET

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

object reference not set to instatiate of object in .net

26 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community