Hi Jerry,
I've updated install attached to the first post in this thread..
heres a sample
using System;
//
using BricscadApp;
using BricscadDb;
using RxNet.ApplicationServices;
using RxNet.Runtime;
using RxNet.RxGlobal;
using RxNet.Geometry;
using RxNet.DatabaseServices;
using RxNet.Editor;
namespace Bricscad
{
public static class Commands
{
[CommandMethod("doit")]
public static void test01()
{
var app = Application.AcadApplication as AcadApplication;
var doc = app.ActiveDocument;
try
{
bool doloop = true;
Point3d last = Point3d.kOrigin;
while (doloop)
{
GrReadResult res = GlobalFunctions.GrRead(1);
if (res.Buffer.TypeCode == (short)LispDataType.Point3d)
{
Point3d next = (Point3d)res.Buffer.Value;
GlobalFunctions.GrDraw(last, next, 6, 0);
last = next;
}
//doc.Utility.Prompt(String.Format("\n{0},{1}", res.AnswerType , res.Buffer));
if (res.Status == PromptStatus.Cancel)
doloop = false;
}
}
catch (System.Exception ex)
{
doc.Utility.Prompt(String.Format("\n{0}", ex.Message));
}
}
}
}