Author Topic: A .Net API for Intellicad?  (Read 4427 times)

0 Members and 1 Guest are viewing this topic.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8783
  • AKA Daniel
A .Net API for Intellicad?
« on: June 28, 2007, 01:12:28 PM »
What a kludge. Ha! It even draws lines and circles. I’ll post it once I know it won’t explode into the CPU fan :-D

LE

  • Guest
Re: A .Net API for Intellicad?
« Reply #1 on: June 28, 2007, 01:27:59 PM »
Looks like you are having so much fun.... 

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8783
  • AKA Daniel
Re: A .Net API for Intellicad?
« Reply #2 on: June 30, 2007, 01:50:21 PM »
Looks like you are having so much fun.... 

Well It started out as fun, but at the 20th function or so it seemed more like work  :-o :?

Code: [Select]
public sealed class Sds
{
    public static bool Alert(string message);
    public static double Angle(Point3D startPoint, Point3D endPoint);
    public static double AngtoF(string pDouble, int format);
    public static string AngtoS(double number, int format);
    public static string AngtoS(double number, int format, int precision);
    public static bool BBox(ObjectID objectID, ref Point3D point1, ref Point3D point2);
    public static bool BmpOut(string path, int width, int height);
    public static bool cmd(ResultBuffer rb);
    public static double CVUnit(double dbl, string before, string after);
    public static bool DictAdd(ObjectID dictID, string name, ObjectID exID);
    public static bool DictDel(ObjectID dictID, string name);
    public static ResultBuffer DictNext(ObjectID dictID, int swFirst);
    public static bool DictRename(ObjectID dictID, string name, string newname);
    public static ResultBuffer DictSearch(ObjectID dictID, string name, int swFirst);
    public static double Distance(Point3D startPoint, Point3D endPoint);
    public static double DistoF(string pDouble, int format);
    public static bool EntDel(ObjectID objectID);
    public static ResultBuffer EntGet(ObjectID objectID);
    public static ResultBuffer EntGetx(ObjectID objectID, ResultBuffer rb);
    public static ResultBuffer EntGetx(ObjectID objectID, string appname);
    public static ObjectID EntLast();
    public static bool EntMake(ResultBuffer rb);
    public static bool EntMakex(ResultBuffer rb);
    public static bool EntMod(ResultBuffer rb);
    public static ObjectID EntNext(ObjectID objectID1);
    public static ObjectID EntSel(string str);
    public static ObjectID EntSel(string str, ref Form form);
    public static bool EntUpd(ObjectID objectID);
    public static string FindFile(string file);
    public static double GetAngle(Point3D startPoint, string str);
    public static Point3D GetCorner(Point3D startPoint, string str);
    public static double GetDist(Point3D startPoint, string str);
    public static string GetFiled(string title, string path, string fileext, int options);
    public static string GetInput();
    public static int GetInt(string prompt);
    public static string GetKword(string prompt);
    public static double GetOrient(Point3D point, string prompt);
    public static Point3D GetPoint(string prompt);
    public static Point3D GetPoint(Point3D point, string prompt);
    public static double GetReal(string prompt);
    public static string GetString(string prompt);
    public static string GetString(int flag, string prompt);
    public static ResultBuffer GetSym(string symbolName);
    public static ResultBuffer GetVar(string symbolName);
    public static void GraphScr();
    public static void GrClear();
    public static bool GrDraw(Point3D point1, Point3D point2, int color, int mode);
    public static bool GrRead(int bits, ref int answertype, ResultBuffer modreq(IsImplicitlyDereferenced) answer);
    public static bool GrText(int pWhere, string message, int highlight);
    public static bool GrVecs(ResultBuffer vList, double[,] mMatrix);
    public static ObjectID HandEnt(string handle);
    public static bool Help(string helpFile, string id, int flag);
    public static bool InitGet(int accept, string keys);
    public static Point3D inters(Point3D point1, Point3D point2, Point3D point3, Point3D point4, int mode);
    public static ResultBuffer invoke(ResultBuffer args);
    public static bool IsAlnum(int val);]
    public static bool IsAlpha(int val);
    public static bool IsCntrl(int val);
    public static bool IsDigit(int val);
    public static bool IsGraph(int val);
    public static bool IsLower(int val);
    public static bool IsPrint(int val);
    public static bool IsPunct(int val);
    public static bool IsSpace(int val);
    public static bool IsUpper(int val);
    public static bool IsXDigit(int val);
    public static ObjectID LayoutGetCur();
    public static bool LayoutMake(string layout, ObjectID templateName);
    public static ObjectID LayoutSearch(string layout);
    public static bool LayoutSetCur(ObjectID objectID);
    public static ResultBuffer Loaded();
    public static bool MenuCmd(string message);
    public static void NameClear(ObjectID objectID);
    public static ObjectID NamedObjDict(ObjectID objectID);
    public static ObjectID NEntSelp(string str, int userpick, ref double[,] mMatrix, ResultBuffer modreq(IsImplicitlyDereferenced) nested);
    public static Point3D Osnap(Point3D point3D, string mode);
    public static Point3D Polar(Point3D point3D, double angle, double distance);
    public static bool PrintF(string message);
    public static bool ProgressPercent(int pcdone);
    public static bool ProgressStart();
    public static bool ProgressStop();
    public static bool Prompt(string message);
    public static bool PutSym(string lispSymbol, ResultBuffer rb);
    public static bool ReadAliasFile(string file);
    public static bool Redraw(ObjectID objectID, int mode);
    public static bool RegApp(string app);
    public static bool RetInt(int integer);
    public static bool RetList(ResultBuffer rb);
    public static bool RetName(ObjectID objectID, int mode);
    public static bool RetNil();
    public static bool RetPoint(Point3D point3D);
    public static bool RetPoint(double number);
    public static bool RetStr(string str);
    public static bool RetVal(ResultBuffer rb);
    public static bool RetVoid();
    public static string RtoS(double number, int format);
    public static string RtoS(double number, int format, int precision);
    public static bool SendMessage(string message);
    public static bool SetVar(string varname, ResultBuffer rb);
    public static bool SetVew(ResultBuffer views, int vport);
    public static bool SnValid(string tblName, int pipe);
    public static ObjectID SSAdd(ObjectID entName);
    public static ObjectID SSAdd(ObjectID entName, ObjectID SSName);
    public static bool SSDel(ObjectID eName, ObjectID ssName);
    public static bool SSFree(ObjectID ssName);
    public static ObjectID SSGet(string mode);
    public static ObjectID SSGet(string mode, ResultBuffer filter);
    public static ObjectID SSGet(string mode, ResultBuffer ptlist, ResultBuffer filter);
    public static ObjectID SSGet(string mode, Point3D point1, Point3D point2);
    public static ObjectID SSGet(string mode, Point3D point1, Point3D point2, ResultBuffer filter);
    public static bool SSGetFirst(ResultBuffer modreq(IsImplicitlyDereferenced) gripped, ResultBuffer modreq(IsImplicitlyDereferenced) selected);
    public static int modopt(IsLong) SSLength(ObjectID eName);
    public static bool SSMemb(ObjectID eName, ObjectID ssName);
    public static ObjectID SSName(ObjectID ssName, int modopt(IsLong) index);
    public static bool SSSetFirst(ObjectID grips, ObjectID select);
    public static bool SwapScreen();
    public static ResultBuffer TblNext(string tablename, int flag);
    public static ObjectID TblObjName(string tablename, string entity);
    public static ResultBuffer TblSearch(string tablename, string symbol, int flag);
    public static bool TextBox(ResultBuffer eName, ref Point3D point1, ref Point3D point2);
    public static bool TextPage();
    public static bool TextScr();
    public static Point3D Trans(Point3D point, ResultBuffer from, ResultBuffer to, int disp);
    public static bool UsrBrk();
    public static ResultBuffer VPorts();
    public static bool WCMatch(string str, string match);
    public static int modopt(IsLong) XDRoom(ObjectID eName);
    public static int modopt(IsLong) XDSize(ResultBuffer ent);
    public static bool XFormss(ObjectID eName, double[,] mMatrix);
    public static bool XLoad(string file);
    public static bool XUnLoad(string file);
}

LE

  • Guest
Re: A .Net API for Intellicad?
« Reply #3 on: June 30, 2007, 02:00:02 PM »
What!


Are you doing all from scratch ?

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8783
  • AKA Daniel
Re: A .Net API for Intellicad?
« Reply #4 on: June 30, 2007, 02:22:17 PM »
Are you doing all from scratch ?

Ugh yes, And that’s not including all behind the scenes like the assembly loader, and all the types …
still have a long way to go.

LE

  • Guest
Re: A .Net API for Intellicad?
« Reply #5 on: June 30, 2007, 02:37:30 PM »
Are you doing all from scratch ?

Ugh yes, And that’s not including all behind the scenes like the assembly loader, and all the types …
still have a long way to go.

Wow, I wish you luck and hope you could make some (what ever goes here) and do not give it away for (what ever goes here), because all your hard work.

in another side note, could it be less stress to do it with their new arx sdk stuff, or it is not available yet.