Author Topic: LispFunction with autoCAD 2008  (Read 3329 times)

0 Members and 1 Guest are viewing this topic.

Offline (gile)

  • C#
  • *
  • Posts: 87
  • Karma: +8/-0
  • Gender: Male
    • prefered language: F
    • Prog expertise: Good
    • View Profile
LispFunction with autoCAD 2008
« on: December 06, 2010, 08:34:11 PM »
Hi,

A .NET defined LISP function (with the LispFunction attribute) can return any type of value available in LISP : string, int, double,Point3d,  SelectionSet, ObjectId (ename), TypedValue (T or nil), ResultBuffer (list)...

But it seems there's a bug with AutoCAD 2008 which only allows .NET defined LISP functions to return a ResulBuffer (a list or nil).
« Last Edit: December 06, 2010, 08:52:35 PM by (gile) »