.NET

.NET

Reply
Active Member
7 Posts
0 Kudos
Registered: ‎02-28-2006
Post 1 of 1

object reference not set to instatiate of object

30 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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!