.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

object reference not set to instatiate of object in .net

0 REPLIES 0
Reply
Message 1 of 1
jayapradha
151 Views, 0 Replies

object reference not set to instatiate of object in .net

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
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost