.NET

.NET

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

object reference not set to instatiate of object

29 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
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.