acedGetSym()

acedGetSym()

Anonymous
Not applicable
497 Views
2 Replies
Message 1 of 3

acedGetSym()

Anonymous
Not applicable
Hello members,

My application gets the values from VLisp using acedGetSym(). I have more than 20 parameters to pass so I make them several groups such as (list (list ..) (list ...) ...) in Lisp.
However, Arx recognizes some group as RT3DPOINT(5009) for the group which has 3 elements though it is not 3D point.
Does Arx always recognize this kind of list as 5009?
Is there any other way to pass this group to be recognized as a list of integer or double?. Do I have to make it into string for each element in a list?
0 Likes
498 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Chang:

> However, Arx recognizes some group as RT3DPOINT(5009)
> for the group which has 3 elements though it is not 3D point.
> Does Arx always recognize this kind of list as 5009?

Passing lists via ADS will do this. one solution I've used in the past is
to encapsulate the lists into a nested list, so that instead of passing '(1
2 3) you pass '((1 2 3)). A better solution would be to expose a COM
interface so that your lisp can communicate directly with your ObjectARX
code. 🙂
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thank you for your advise, Mr. Wengerd.
0 Likes