Hi,
I am trying to pass lists of integers from Lisp to Resultbuffer. It seems that lists with two or three numbers are always converted to Point2d or Point3d. But if the first element of a list looks like a dxf group code and when the list is longer than two elements, then the TypedValue is constructed wrongly.
(myfunction '(1 2 3)) -> {((5009(1,2,3)))}
(myfunction '(10 20 30)) -> {((10,(20,30,0)))} is WRONG!
(myfunction '(10 20)) -> {((5002,(10,20)))} is OK!
(myfunction '(20 30 40)) -> {((5009,(20,30,40)))} is OK!
(myfunction '(10.0 20 30)) -> {((5009,(10,20,30)))} is OK!
I know that this can easily solved from the lisp side. But is there any other solution on the C# side? Can I switch off the automatic conversion to Point2d/Point3d and get a list of integers in my resbuf?
Regards
Tom